Opening ne window OnClick

T

Tapi

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
 
T

Tapi

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
 
T

Tapi

Found the solution:

onClick=window.open(""table_candidature_fiche.asp?ID1=" & ID1&"&ID1=" &
ID1&""")>"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,163
Messages
2,570,897
Members
47,434
Latest member
TobiasLoan

Latest Threads

Top