[jQuery] Re: revalidate dropdown onchange instead of onblur

2009-06-11 Thread BalusC
delegate("click", ":radio, :checkbox", delegate); to: $(this.currentForm) .delegate("focusin focusout keyup", ":text, :password, :file, textarea", delegate) .delegate("focusin focusout keyup change", "select", delegate) .delegate(&

[jQuery] [validate] revalidate dropdown onchange instead of onblur

2009-06-11 Thread BalusC
I've tried several ways, but I can't seem to force the jQuery Validator to (re)validate the dropdown during the onchange. Current scenario of a required dropdown: 1) Do not select an option and submit form. 2) Let validator validate the form. 3) Validator will show errors and higlight invalid fie

[jQuery] Re: handle ajaxSubmit error as normal response instead of ajax response.

2009-05-30 Thread BalusC
g this anyway? Cheers, B On May 29, 11:13 pm, BalusC wrote: > The server side (JSP/Servlet in this case) can throw an unexpected > exception (ServletException in this case). The exception is on the > server side handled as an error page, which returns just a complete > HTML page with t

[jQuery] [form] handle ajaxSubmit error as normal response instead of ajax response.

2009-05-29 Thread BalusC
The server side (JSP/Servlet in this case) can throw an unexpected exception (ServletException in this case). The exception is on the server side handled as an error page, which returns just a complete HTML page with the exception details. I'd like to let ajaxSubmit's error option show the entire

[jQuery] Re: form with multiple buttons and multiple submit handlers

2009-04-17 Thread BalusC
').slideDown(500); $('#step2form').slideUp(500); } return false; }); [/code] On Apr 17, 1:23 pm, BalusC wrote: > I thought I already have added the [validate] tag to the subject? > Anyway, now it's done again. > > On Apr 17, 12:31 pm,

[jQuery] [validate] form with multiple buttons and multiple submit handlers

2009-04-17 Thread BalusC
I thought I already have added the [validate] tag to the subject? Anyway, now it's done again. On Apr 17, 12:31 pm, BalusC wrote: > I've a paged form with back and next buttons on each form. > Each button invokes an ajaxSubmit() using submitHandler. > Next button should disp

[jQuery] [validate] form with multiple buttons and multiple submit handlers

2009-04-17 Thread BalusC
I've a paged form with back and next buttons on each form. Each button invokes an ajaxSubmit() using submitHandler. Next button should display next form using slideUp() and slideDown(). Back button should display previous form using slideUp() and slideDown (). Here's an example of 2nd form (step)