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

May 16, 2016 pm 05:56 PM
dropdownlist validation

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