I'm firing a custom modal popup using the url #value on page load, and I want to clear the value if user closes the modal. I know I can remove the #value using location.hash = ''. But this will leave the #.
Is there a cross browser way to remove the #value along with the # in the below url?
e.g. http://www.myweb.com/list.html#value
Thanks in advance !
 
     
    