url() - A simple, lightweight url parser for JavaScript
Websanova :: Home websanova home, about and news page.
I'm using jsurl from https://github.com/Mikhus/jsurl
I have the following url myhome.com
and need to change it to myhome.com/?page=4
var u = new Url;
u.query.page = 4;
if I do alert(u);
the url looks as expected but it doesn't update the url in the browser. Do I need to do anything else? If so what's the required step to change the querystring without reloading the page?
Source: (StackOverflow)