Juste adding some info:)
I also use the Validate plugin to validate the form before submission.
$(#pdform).validate({
event: blur,
debug : true,
rules: {
},
messages: {
}
});
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
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 ? :)
3 matches
Mail list logo