Let\'s say I have a url such as:
http://www.example.com/hello.png?w=100&h=100&bg=white
What I\'d like to do is update the values of
Another way (independent of jQuery or other libraries): https://github.com/Mikhus/jsurl
var u = new Url; // or var u = new Url('/some/path?foo=baz'); alert(u); u.query.foo = 'bar'; alert(u);