[jQuery] Re: fadeout response div after form submission
Juste adding some info:) I also use the Validate plugin to validate the form before submission. $(#pdform).validate({ event: blur, debug : true, rules: { }, messages: { } });
[jQuery] Re: fadeout response div after form submission
Partially replying to myself : I now use this success: cachepd() inside pdoptions and cachepd is this simple function : function cachepd() { $('#pdresult').fadeOut(5000); }; But it seems like fadeOut deletes the div from the DOM because it's not updated anymore if I submit the form again...
[jQuery] Re: fadeout response div after form submission
another weird thing is that the cachepd function is executed as soon as the page loads so the #pdresult div gets hidden after 5 seconds... why is that ? :)