I m currently on a page
www.example123.com/search?error=1
. On page refresh, the page should be loaded with the following url.
www.example123.com/search
or
www.example123.com/search?error=
How to do this in js or jQuery? The solution should work in all major browsers.
See Question&Answers more detail:os