Change browser address bar URL with jQuery without reloading For example,
www.mywebsite/list.php?page=1
<a href="?page=<?php $row[id] ?>" > this link </a>
on click change address bar ?id=123
etc...
Change browser address bar URL with jQuery without reloading For example,
www.mywebsite/list.php?page=1
<a href="?page=<?php $row[id] ?>" > this link </a>
on click change address bar ?id=123
etc...
not possible at all to change the url or even query string of the browser without reloading only part you can change without refresh is #hash part of the url till html4
But in html 5 some kind of url change can be done by the new HISTORY API give it a try
You can not. If you try to do it like this for example:
document.location.search= "?i=123"
It will reload the page. What you can do is change the hash
document.location.hash= "#123"
or
document.location.hash= "#i=123
And then write a simple parsor using split to grab the data you need. Similar question you should have a look at.