Form not getting submitted from jQuery Validation Plugin's submitHandler -
submithandler: function (form) { form.submit(); // jquery(form).submit(); window.close(); }
i using above submithandler
in validating form through jquery validation plugin, form not getting submitted. but, if use commented line instead, form submitted browser shows following dialog , starts become unresponsive, although on terminating script clicking "yes", form data had been saved , window not close.
"stop running script?" "a script on page causing web browser run slowly. if continues run, computer might become unresponsive." "yes" "no"
the commented line example of too recursion problem explained in jquery validation docs.
why usual form.submit()
not work in case bit difficult tell without more example code. it's possible calling window.close()
aborts form submission?
Comments
Post a Comment