Forum Moderators: open

Message Too Old, No Replies

Java Script Help

Try to modify a form button to open in new window

         

aaronjf

9:59 pm on Nov 21, 2002 (gmt 0)

10+ Year Member



I am trying to get a form button with hidden fields to open new window on click. Can someone help with the Java Script?

<form method="post" action="http://www.REMOVED.pl">
<input type="hidden" name="nccust" value="MerchantID" />
<input type="hidden" name="VDO Bozo" value="1" />
<input type="submit" name="order" value="Add to Cart" />
</form>

dhdweb

11:15 pm on Nov 21, 2002 (gmt 0)

10+ Year Member



Beware!

Sending form info via post to a new window will not work on AOL or IE6!

I don't know why, but I ran into this problem on my new site.

But if you must, just add the target:

<form method="post" action="http://www.REMOVED.pl" target="_blank">

dhdweb