Hi,

I am using jQuery and blockUI to prevent the user from submitting a
form twice by double clicking on the interface:

This is in my global js file and is called on every pages
document.ready:

$('form').submit(function(){$.blockUI({message:'', overlayCSS:
{opacity:0.2}})});

This was working really well, but if I have validation on one of the
form submits that returns false, I of course want to unblock the UI.

Can you suggest a way of doing this? (without hard coding validation
checks in the global js file?)

Thanks for any suggestions

Reply via email to