Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-25-2007, 11:37 AM   PM User | #1
neilbradford
New to the CF scene

 
Join Date: Sep 2007
Location: Near London UK
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
neilbradford is an unknown quantity at this point
Question Help needed sending a simple form... but in a new resizable window!!!

I need to submit form data the simple way but including a userID as going to a shopping cart gateway, and to a specific server (all info in the code below) but want the new window to open at a particular size.
I've tried the code below but just opens a new window with the right data sent but NOT at size specified! The code below contains the server name, userid, and product plus options.
What am I doing wrong??? Please help...!!!

<form action="http://ww10.aitsafe.com/cf/addmulti.cfm" name="userid" method="post" target="code">
<input type="Hidden" name="userid" value="C9300656">
<INPUT TYPE="HIDDEN" NAME="product1" VALUE="Cocktail Ring : Ref R2070">
<input type="Hidden" name="price1" value="9.99">
<input type=text name="qty1" value="1" size="2" MAXLENGTH="2">
<SELECT NAME="product1" SIZE="1">
<OPTION VALUE="Cocktail Ring R2070 Size J">J</OPTION>
<OPTION VALUE="Cocktail Ring R2070 Size L">L</OPTION>
<OPTION VALUE="Cocktail Ring R2070 Size P">P</OPTION></SELECT>
<input type="submit" value="submit" onclick="
NewWindow('','code',650,500,'resizable,scrollbars',
'center');document.forms.userid.submit();return false;" />
</form>
neilbradford is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:35 AM.


Advertisement
Log in to turn off these ads.