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

    Question Save a Form from a popup box

    I have a form with a save button that triggers a popup box from a different file. In the popup box I have a yes & no checkbox and a save or cancel button....I want to be able to save the form from the popup box how can I do this?

  • #2
    Regular Coder ghostz00's Avatar
    Join Date
    Aug 2006
    Posts
    128
    Thanks
    11
    Thanked 2 Times in 2 Posts
    I'm assuming that when you say "save" the form your talking about submitting the form.

    Code:
    window.parent.document.forms[0].submit();
    Obviously you'll have to edit this for your site.

    hope this helps....
    Greg


  •  

    Posting Permissions

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