this jquery working submit form in chrome , safari, not firefox:
// submit form long there no errors if (invalidfields.length == 0 || typeof invalidfields === 'undefined') { $("form.sd_form").submit(); }
it checks custom validation errors, , should submit form if there none (which does, except in firefox).
the function wrapped in
(function($) { $(document).ready(function() {
i'm not sure try!
edit: here pastebin of entire .js file. i'm stuck here! http://pastebin.com/unkpu1th
Comments
Post a Comment