Hi,
I passed an encoded URL as one of the parameters in the window.open function in Javascript.
Calling window
---------------
e.g.
../ViewDetail.asp?Symbol=ABCDE&Targetpage=http%3A%2F%2Ffinance%2Eyahoo%2Ecom%2Flookup%3Ft%3DM%26m%3DUS%26s%3D
The equivalent of Targetpage is
Called window
--------------
When I try to get the value of the TargetPage in the called window in ASP:
strTarget = Request("TargetPage")
it only gets the url up until the first parameter:
This seems to work when I do use
<a href=../ViewDetail.asp?Symbol=ABCDE&Targetpage=http%3A%2F%2Ffinance%2Eyahoo%2Ecom%2Flookup%3Ft%3DM%26m%3DUS%26s%3D>ABCDE</a>, retrieving the whole TargetPage string.
I was wondering why it wouldn't work with window.open in Javascript. I need to set the features of the called window(menubar,scrollbars,toolbar, etc...). If you have any answer, please let me know.
Also, is there a way to set these features of the called window(menubar,scrollbars,toolbar) in Javascript inside the called window?
Please advise.
Thank you very much,
Tina
I passed an encoded URL as one of the parameters in the window.open function in Javascript.
Calling window
---------------
e.g.
../ViewDetail.asp?Symbol=ABCDE&Targetpage=http%3A%2F%2Ffinance%2Eyahoo%2Ecom%2Flookup%3Ft%3DM%26m%3DUS%26s%3D
The equivalent of Targetpage is
Called window
--------------
When I try to get the value of the TargetPage in the called window in ASP:
strTarget = Request("TargetPage")
it only gets the url up until the first parameter:
This seems to work when I do use
<a href=../ViewDetail.asp?Symbol=ABCDE&Targetpage=http%3A%2F%2Ffinance%2Eyahoo%2Ecom%2Flookup%3Ft%3DM%26m%3DUS%26s%3D>ABCDE</a>, retrieving the whole TargetPage string.
I was wondering why it wouldn't work with window.open in Javascript. I need to set the features of the called window(menubar,scrollbars,toolbar, etc...). If you have any answer, please let me know.
Also, is there a way to set these features of the called window(menubar,scrollbars,toolbar) in Javascript inside the called window?
Please advise.
Thank you very much,
Tina