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

ASP.NET jQuery Example 17 Validating ListBox_jquery by using jQuery validation plug-in

WBOY
Release: 2016-05-16 17:56:26
Original
1028 people have browsed it

Here we take an example to verify two rules of ListBox:
•Verify required items
•Selection range is 0~4 items
Interface code:

Copy the code The code is as follows:













Please select the car type:

< ;asp:ListBox ID="lstCar" runat="server" Rows="5" SelectionMode="Multiple">















Script code:
Copy code The code is as follows:


Recipe17






Interface effect:

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template