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

Re: Opening ne window OnClick by Maarten

Maarten
Mon Nov 22 06:07:11 CST 2004

http://www.w3schools.com/htmldom/dom_obj_window.asp



Re: Opening ne window OnClick by Tapi

Tapi
Thu Nov 25 04:24:21 CST 2004

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.jongwe@free.fr> wrote in message
news:u5Sd1PI0EHA.3908@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
>
>



Re: Opening ne window OnClick by Tapi

Tapi
Thu Nov 25 05:31:51 CST 2004

Found the solution:

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


"Tapi" <t.jongwe@free.fr> wrote in message
news:uQRtvjt0EHA.2876@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.jongwe@free.fr> wrote in message
> news:u5Sd1PI0EHA.3908@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
> >
> >
>
>