jQuery modal dialog box isn't submitting my form

前端 未结 3 1471
北恋
北恋 2021-01-05 00:48

I am using a jQuery Modal Dialog box to ask the user if they wish to submit the form or not.

However after the user clicks Dialog\'s Submit button, the form is not

3条回答
  •  被撕碎了的回忆
    2021-01-05 00:50

    You can try on submit event form have different type of events.

    onsubmit="return confirm('Please confirm that you want to submit')"
    

    see this EDIT , now you can change create one function with Modal Dialog return true or false.

提交回复
热议问题