javascript - How to let <a href..> not refresh the page -
i have div, in link href tag:
<a href="banana.html"><div id="somediv">some div</div></a>
when click on div, entire page unloads , reloads banana.html. however, i'm using websocket , need part of page reload, there way change window url without refreshing page?
thanks!
probably want use ajax this, jquery has cool function pretty versatile:
Comments
Post a Comment