Hi All,
I think I have been able to solve the issue of the validation error messages
not appearing on the correct form. If anyone else encounters the same
problem, below is the fix / solution for it. (I had to use the event and
firebug console). Changed lines are marked with a trailing //.
You shouldn't initialize the validation inside a click-event handler -
that way it tries to init it on every click.
Why not just select the form and call validate, eg.
$(.main-title form).validate({ ... });
Jörn
On Tue, Jul 14, 2009 at 10:42 PM, Anoop kumar Vanoopkum...@gmail.com wrote:
Hi
The reason I think $(.main-title form) will not work for my case is
because my form is structured like the following:
form class=cbnav method=post action=user/region.jsp div class
=main-titleKansas City (KC)/div
div class=details
/div
/form
So the form is actually a parent of the
3 matches
Mail list logo