How do I popup a jQuery dialog on submit?

  • Profile Image
    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?




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

    Hello Rob.


    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.