I want to show an alert box before form submission.
If a user presses yes, then the form will submit, otherwise it wont. Is there a solution using jQuery?
I want to show an alert box before form submission.
If a user presses yes, then the form will submit, otherwise it wont. Is there a solution using jQuery?
you can use the javascript
confirm(message) : boolean
function by intercepting the submit event of html form.Read this post...
Confirmation Posts Yes/No Submit
May be this will help you out.