[jQuery] Re: BlockUI and unBlockUI after validation routine

2007-06-28 Thread Mike Alsup
It looks to me like the code you supplied does 3 things, all of which occur when the page loads: 1) Add click handler to the submit button to call blockUI 2) Prepare a form for validation to occur on keydown events 3) Unblock the UI My point is that unblockUI is not invoked in response to any v

[jQuery] Re: BlockUI and unBlockUI after validation routine

2007-06-28 Thread Ganeshji Marwaha
for this, i would suggest something along the lines of the the example given below... You will have this somewhere in ur code... this is the validation logic var validator = $("#frm").validate({ rules: {} }); What i am trying to say is, u dont specify the event that is used by the validator in

[jQuery] Re: BlockUI and unBlockUI after validation routine

2007-06-28 Thread Web Specialist
What I want to do: - When user submits our form blockUI "blocks" and after validated(I have a routine with) blockUI "unblocks" that form. 2007/6/28, Mike Alsup <[EMAIL PROTECTED]>: All this shows is that unblockUI executes when the DOM is ready. I don't understand what you're trying to do.

[jQuery] Re: BlockUI and unBlockUI after validation routine

2007-06-28 Thread Mike Alsup
All this shows is that unblockUI executes when the DOM is ready. I don't understand what you're trying to do. Mike On 6/28/07, Web Specialist <[EMAIL PROTECTED]> wrote: Sorry Mike. I'm using in our intranet. But code is simple like this: // function to show wait message when user fires subm

[jQuery] Re: BlockUI and unBlockUI after validation routine

2007-06-28 Thread Web Specialist
Sorry Mike. I'm using in our intranet. But code is simple like this: // function to show wait message when user fires submit button $(function() { $('#SubmitForm').click(function() { $.blockUI(); }); }); $(document).ready(function(){ ... // VALI

[jQuery] Re: BlockUI and unBlockUI after validation routine

2007-06-28 Thread Mike Alsup
You need to provide more of the code or a link to a sample page. It's likely that you have a JavaScript error somewhere and the unblockUI call is never truly being invoked. Mike On 6/28/07, Web Specialist <[EMAIL PROTECTED]> wrote: Sorry Sam, mistyped. I'm using $.unblockUI().

[jQuery] Re: BlockUI and unBlockUI after validation routine

2007-06-28 Thread Web Specialist
Sorry Sam, mistyped. I'm using $.unblockUI(). 2007/6/28, Sam Collett <[EMAIL PROTECTED]>: Looks like you are missing the brackets: $.unblockUI(), not $.unblockUI On Jun 28, 11:09 am, "Web Specialist" <[EMAIL PROTECTED]> wrote: > Hi all. > > I'm trying to use BlockUI to show a message while

[jQuery] Re: BlockUI and unBlockUI after validation routine

2007-06-28 Thread Sam Collett
Looks like you are missing the brackets: $.unblockUI(), not $.unblockUI On Jun 28, 11:09 am, "Web Specialist" <[EMAIL PROTECTED]> wrote: > Hi all. > > I'm trying to use BlockUI to show a message while a validation routine > occurs in my form. > > Looks like this: > > $(document).ready(fu