469,320 Members | 2,146 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,320 developers. It's quick & easy.

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

Hi,

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">
</FORM>

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 4973
additional information:

below is the script that it doesnt 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.

Thanks


<TD height="62"><%p_image=prodset("imagen_prod")%>
<%p_prod=prodset("id_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
</script>
<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
1 post views Thread by CARIGAR | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.