Stop then restart submit() after ajax check
Posted
by jeerose
on Stack Overflow
See other posts from Stack Overflow
or by jeerose
Published on 2010-04-14T14:05:03Z
Indexed on
2010/04/14
14:12 UTC
Read the original article
Hit count: 184
I asked a question [here] recently and it's just not providing me with an answer. Here's what I want to do and you can see my first attempt at the link above:
- User submits form
- Stop default submit action
- check to see if a similar entry exists in database
- If it does, display a notice asking them if they want to submit anyway and give an option to let them submit anyway (enable default action and submit it).
- If it does not, enable the default action on the form and let it submit
I'm at a loss. Any help is appreciated. Thanks gang.
© Stack Overflow or respective owner