With javascript how can I add a query string parameter to the url if not present or if it present, update the current value? I am using jquery for my client side development
Here is my library to do that: https://github.com/Mikhus/jsurl
var u = new Url; u.query.param='value'; // adds or replaces the param alert(u)