143
rated 0 times
[
145]
[
2]
/ answers: 1 / hits: 83429
/ 14 Years ago, tue, february 22, 2011, 12:00:00
I have a form which is being submitted by ajax. Before submission, there's a function which checks if a textarea in the form is empty before submitting. if it is empty, I need to stop the script and show a modal box AND prevent the submission of data to proceed.
How do I stop execution? Do I use
break;
?
More From » jquery