By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,671 Members | 1,278 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,671 IT Pros & Developers. It's quick & easy.

Opening ne window OnClick

P: n/a
How can I change the following client side javascript to open the referenced
asp page in a new window:

Response.Write "
<td align=""left"" nowrap
onClick=""javascript:document.location=my.asp?ID1= " & ID1& "&ID2=" & ID2&
"';"">"

For now it work perfectly excect that it opens in the paren window.

Thanks,

TJ
Jul 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
The open_win() function works perfectly but somehow fails to recognise one
of the parameters. Is there a way of opening a new window using the
following syntax:

onClick=""javascript:document.location=my.asp?ID1= " & ID1& "&ID2=" & ID2&
"';"">"
Thanks

"Tapi" <t.******@free.fr> wrote in message
news:u5**************@TK2MSFTNGP10.phx.gbl... How can I change the following client side javascript to open the referenced asp page in a new window:

Response.Write "
<td align=""left"" nowrap
onClick=""javascript:document.location=my.asp?ID1= " & ID1& "&ID2=" & ID2&
"';"">"

For now it work perfectly excect that it opens in the paren window.

Thanks,

TJ

Jul 22 '05 #3

P: n/a
Found the solution:

onClick=window.open(""table_candidature_fiche.asp? ID1=" & ID1&"&ID1=" &
ID1&""")>"
"Tapi" <t.******@free.fr> wrote in message
news:uQ**************@TK2MSFTNGP12.phx.gbl...
The open_win() function works perfectly but somehow fails to recognise one
of the parameters. Is there a way of opening a new window using the
following syntax:

onClick=""javascript:document.location=my.asp?ID1= " & ID1& "&ID2=" & ID2&
"';"">"


Thanks

"Tapi" <t.******@free.fr> wrote in message
news:u5**************@TK2MSFTNGP10.phx.gbl...
How can I change the following client side javascript to open the

referenced
asp page in a new window:

Response.Write "
<td align=""left"" nowrap
onClick=""javascript:document.location=my.asp?ID1= " & ID1& "&ID2=" & ID2& "';"">"

For now it work perfectly excect that it opens in the paren window.

Thanks,

TJ


Jul 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.