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
Release: 2016-05-16 17:56:24
Original
839 people have browsed it

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