Hi Chaps, I have a PHP form with one input and a button. A jQuery script ('loading' animated gif) is triggered on the click of the submit button. I also have a Spry Validation field linked to the input. At the moment, if the validation is triggered, the animated gif continues and won't stop. The furthest I've managed to get with it, is to click the validation message to stop the animation, but what I'm really after is to stop the animation when the validation is visible/triggered, but I can't find a suitable Event.
$(function() {
$("#button_download")
.click(function() {
})
.throbber();
$("#sprytextfield1")
.click(function(sprytextfield1) {
$.throbberHide();
})
});
If someone can point me in the right direction, that would be sweet.