Modify url for bookmarking using JavaScript

Posted by jamesaharvey on Stack Overflow See other posts from Stack Overflow or by jamesaharvey
Published on 2010-05-24T01:43:32Z Indexed on 2010/05/24 1:50 UTC
Read the original article Hit count: 343

I'm exploring my options for modifying urls in the browser bar for bookmarking purposes.

Ideally, I'd like to add querystring parameters and cannot determine if this is even possible. I don't want the page to refresh and want to add querystring values on link clicks, ajax calls, etc.

If I can't add querystring parameters, then I'd like to add hash values (http:://someurl.com#hash-value). How should I go about doing this? Should I use plain JavaScript or a framework (jquery, prototype, etc.) and/or framework plugin.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about AJAX