jquery - How to avoid validation loop? -


I have a form that has two checkboxes, "A" and "B" and the form that broke down in stages is. If "A" is checked and not "B" then I need to display a warning when the user clicks on the next step button, only once the form prevents the form from progress. ("(": "(": "(" "" (":") ("(": "A") ("(Czech") and $ ("b").) {Warning ("foo");}) ;

How can I do it only once, which displays the alert, the user clicks on "OK" to close the closure and allow progress through the form Thank you

var userHasBeenAlerted = false; if ($ ("": "A ") (": Check ") and amp; amp; amp; $ amp; $ (" b ") (": no (': check') "& user! True; warning (" Foo ");});

Yet And I do not really follow it, what do you mean with 'breaking steps', page reloading etc.? If such a case sets it in a more global way (like cookie or something)


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -