Is it possible to alter the query string of the current URL without triggering a page load.
eg. Say you have AJAX pagination, allowing people to change pages without the whole page reloading, just the content of the paginated area. However in case somebody bookmarked the page, they would really only be bookmarking the page 1 - even if they were on page 10.
Yes, you can update the document fragment (the part after the #) without reloading the page by assigning a string to location.hash
Thanks for that. Anyway of modifying what is after the questionmark, without cause page reload?
No. You can modify the document fragment without a page reload, but you cannot modify the querystring without it reloading.
Thanks for your prompt response. Looks like hash is where it has to be.