Home >Web Front-end >JS Tutorial >ASP.NET jQuery Example 18 Validating DropDownList_jquery by using jQuery validation plug-in

ASP.NET jQuery Example 18 Validating DropDownList_jquery by using jQuery validation plug-in

WBOY
WBOYOriginal
2016-05-16 17:56:24834browse

First look at the interface code:

Copy code The code is as follows:















Please select the car type:






< ;asp:ListItem Value="5" Text="Toyota Motors">










DropDownList control attribute ToolTip will be converted to Title. The value of title can be used as a prompt message for the verification rule required. The value of the attribute CssClass is required. The verification rules of the plug-in are specified.

Script code:
Copy code The code is as follows:


Recipe18