I see. Thanks for explain it clearly. I was confused by the ajaxForm
documentation.
--
View this message in context:
http://www.nabble.com/IE-6-double-submit-tp16964708s27240p17026592.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
I'm using jQuery with form and validate plugins. I have several forms on the
same page. The following code submit the proper form:
$(document).ready(function() {
var loader = jQuery('loader');
$.validator.setDefaults({
debug: true,
focusInvalidElement: true,
submitHandler: func
I recognize this.
This code works:
$(document).ready(function() {
var loader = jQuery(' _js/spinner.gif ');
$.validator.setDefaults({
debug: true,
focusInvalidElement: true,
submitHandler: function(form) {
$(form).ajaxStart(function() {
$(this).prepend(loader);
I'm using jQuery Validate (v. 1.2.1) on a page with several forms. I iterate
through the forms using each(). The validation is working but when I try to
append a loader (using ajaxStart()), it's appended to the wrong div (always
on the second form).
The code:
$(document).ready(function() {
4 matches
Mail list logo