I am having problems in redirecting page with jquery. I have a variable url which contains localhost/abc#123. When i write document.location.href = url;, the page redirects to localhost/abc leaving #123. How to resolve this issue
I am having problems in redirecting page with jquery. I have a variable url
Share
it’s work fine for me in my firefox. do you have tried to debug what happen on your side. I have test this code in IE8 + firefox + chrome. I hope it’s will work fine for you.
if this code doesn’t work on your side then try
as your comment it’s look like you have used Anchor so tried this one.