Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Sep 2007
    Near London UK
    Thanked 0 Times in 0 Posts

    Question Heeelp...! I want to open chromeless window from form submit button

    Can anyone help? I've used Mals-E.com as a shopping gateway for years but never been able to do what most of you might think is a really simple thing!
    The shopping cart opens in the same window (big) or a new window (big) but is tucked away in a corner. I want to open it in a new pop-up window that also sends the html form info to the new window also on submit. I just want a nice size pop-up window to open and the form to submit at the same time. Would look much neater and when the customer's paid, they can just close the window and the original window of the website is below.

    Here's the usual code and you'll see the server plus the action etc and the ID in the top few lines:

    <form action="http://ww10.aitsafe.com/cf/addmulti.cfm" target=new method="post">
    <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="button" value="Buy Me" name="submit">

    I know there should be a simple line of javascript to add/merge in somewhere like:
    and have tried adding it to the end of the button code... name="submit" within the more than symbol but won't work, so guess it must be implimented somewhere towards the top???

    Any help/advice welcomely received!!!
    Last edited by neilbradford; 09-24-2007 at 10:56 PM. Reason: typos as typing in the dark!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts