Simple example of my issue:
on page1.htm, I have a link:
what i am trying to do on page2.htm is to retrieve the window location url, assign it to a string, and then replace any pound signs in the string with double pound signs in the string.
this is what i've tried on page2.htm:
var newLocation = '';
newLocation = window.location;
alert(newLocation); // looks like the url is in the newLocation variable
newLocation = newLocation.replace(/\#/g,"");
Any help would be welcome.