I am looking for a nice way to redicrect in my page, after an Ajax request
If it succeeds I would like to transform the current uri (location.href)
http://my.domain.com/jm/app.html?application=test&keyword=pp&data=&enum=&end=
into
http://my.domain.com/jm/app.html#Results?application=test&keyword=pp&data=&enum=&end=
So adding #Results after uri path, but I would like to preserve the query string, It's probably ugly to find a regex for that, and apply it to location.href
Is there a jquery method to just browsing inside page?
like
$.redirectTo("Results")
location.hash?