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);
Tomas GF schrieb:
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).re
2 matches
Mail list logo