471,859 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,859 software developers and data experts.

"window.open" doesn't work with "form action post"


I am working with VBScript and I put a "window.open" inside a "form action post" due that I am handing a "checkbox" on it, but the "window.open" doesn't work:

<FORM ACTION="baz_add_action.asp" METHOD="post">

...here go the Window.open script

<INPUT NAME="add<%=p_prod_id%>" TYPE="checkbox" value="ON">
<INPUT TYPE="submit" NAME="button" VALUE="Go to Order">

when I do a click on the picture that contain the sub rutine to expand it (window.open) the script bring me wrongly to form action "baz_add_action.asp"...How could I solve this?

Thanks in advance.
May 1 '06 #1
1 5085
additional information:

below is the script that it doesn´t work with form action post, but I need to work with form action becasue it displays a list of products with check boxes on it.


<TD height="62"><%p_image=prodset("imagen_prod")%>
<script language="vbscript">
Sub ventana<%=p_prod%>_onClick
Window.open "/images.asp?p_image=<%=p_image%>", "navwindow", "top=0, left=0, height=340, width=420,*status=yes, toolbar=no, menubar=no, location=no, scrollbars=no, resizable=no"
End Sub
<input type="image" name="ventana<%=p_prod%>" src="/images/<%=p_image%>" height="60" width="80"></TD>
May 1 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Morten Overgaard | last post: by
2 posts views Thread by Jason Morehouse | last post: by
5 posts views Thread by lindanr | last post: by
9 posts views Thread by Anil Gupte | last post: by
reply views Thread by NeoPa | last post: by
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.