[jQuery] [validation] Specify range with attributes
Hello
I am trying to specify range validation as an attribute in order to
have the validation rule as close as possible to the control. Trying
to avoid having to specify the rules somewhere else. I am using
jquery.validation 1.5.2
I have tried the following, but without luck:
<input id='myid' name='myname' type='text' class='required'
range='[100,200]/>
The validation message I get is a "Please enter a value between NaN
and NaN".
Any help on this?
Thanks
Daniel
BTW, this related thread is unanswered: http://groups.google.com/group/jquery-en/msg/0b4215e7d69ed7e4