blockui
blockui copied to clipboard
code is not working only safari (window and mac) when form submit , its working ff,chrome,ie
Hello, some how code is not working when i submit form,
i also to tried $(document).ready(function() { $('#submit').click(function (e) { var form = this.form; e.preventDefault(); $.blockUI({ message: $('#spinner') }); setTimeout(function() { form.submit(); }, 10); }); });
i want to show loader when user login. so for submit from controller.
need your help thank you.
I'm having this same problem, and having no luck. I have tried onBlock and setTimeout... it blockUI then works, but then interferes with javascript on the page reload (if a user has entered invalid credit card information, and our error messages are supposed to appear). Any luck on your end?