I got it to work!
Solution:
body onload='Javascript:$(#texttests).valid();'
Thanks!
/N
On 17 Apr, 20:09, Skatan i...@klejm.se wrote:
I would like to validate my form with jQuery when the pages directly
when the page is loading without need of submit, keyup. This because I
want it to work
I use the function for success-label, but some fields would I like
that the success message not is shown/disable. Please help me!
success: function(label) {
label.text(ok).addClass(success);
}
I have my form in table, with error.appendTo( element.parent
(td).next(td) );
In the td where the errormessages is append I would like to write rule
description for each field when the page is loaded and the user hasn't
start typing in the field should this message be shown, for example:
Full
(validation_options).form();
You might need to add a condition check to make sure the form was
submitted, since you probably don't want this code to run
automatically on the initial form load before the user actually
submitted the form for the first time.
On Apr 17, 8:09 am, Skatan i...@klejm.se wrote
I would like to validate my form with jQuery when the pages directly
when the page is loading without need of submit, keyup. This because I
want it to work togheter with a PHP/server script validation in the
next step, for saftey reason. So if the server side validation
redirect the user pack to
5 matches
Mail list logo