S
soni2926
Hi,
I have a pop up window, that window needs to refresh the parent window
when opened, I'm doing the following:
window.opener.location.href(window.opener.location.href);
problem I'm having is that the parent url has a # sign in it, like:
http://localhost/mysite/me.html#01
i need the #01 to stay in the url after the refresh, anyway to do
this? i tried using escape(window.opener.location.href) but that
didn't work, as it escaped everything including the :// in http://
i also tried
window.opener.location.href(window.opener.location.protocol + "//" +
window.opener.location.hostname + window.opener.location.pathname);
problem with that was i lost the #01 in the url, pathname didn't
include it...
any ideas?
Thanks.
I have a pop up window, that window needs to refresh the parent window
when opened, I'm doing the following:
window.opener.location.href(window.opener.location.href);
problem I'm having is that the parent url has a # sign in it, like:
http://localhost/mysite/me.html#01
i need the #01 to stay in the url after the refresh, anyway to do
this? i tried using escape(window.opener.location.href) but that
didn't work, as it escaped everything including the :// in http://
i also tried
window.opener.location.href(window.opener.location.protocol + "//" +
window.opener.location.hostname + window.opener.location.pathname);
problem with that was i lost the #01 in the url, pathname didn't
include it...
any ideas?
Thanks.