This blog /* Code Comment */ is the continuation of "The Art of .NET". A few posts that got a lot of hits have been transitioned forward, but most older content that became irrelevant has been purged. Enjoy the updates....
Sometimes you need to do client side validation based on other controls on the screen. Here is an example of how you can use the jQuery validation plugin to do dynamic range validation: < style type = " text/css " > label . error { color : red ; } < / style > < form id = " betweenForm " method = " post " action = " " > Change some values : < br / > < label for = " a " > Field min : < / label > < input id = " a " name = " a " type = " text " value = " 1 " / > < br / > < label for = " b " > Field max : < / label > < input id = " b " name = " b " type = " text " value = " 100 " / > < br / > < label for = " c " > Field between : < / label > < input id = " c " class = " required " name = ...
Comments
Post a Comment