How do I popup a jQuery dialog on submit?

  • Profile Image
    thumpwerks
    Asked on March 26, 2014 at 06:46 PM

    I want to popup a dialog when the user clicks the Submit button. I do not want to leave the page. I just want to clear the form and display my dialog.

    Ideally, I would like to just "show" a div on submit and clear the form.

    Is any of this possible?

     

    thanks!

    -rob

  • Profile Image
    TitusN
    Answered on March 26, 2014 at 07:47 PM

    Hello Rob.

    Yes.

    Get the source code using this guide

    Paste the source code on your HTML page

    Add your script - and trigger your script with an OnClick event of the reset button.

    Do you have your script ready? If you pasted it in your reply - we could make a demo for you.

    Let us know.