Home > Web Front-end > JS Tutorial > ASP.NET jQuery Example 15 Validating CheckBoxList_jquery through the control CustomValidator

ASP.NET jQuery Example 15 Validating CheckBoxList_jquery through the control CustomValidator

WBOY
Release: 2016-05-16 17:56:29
Original
909 people have browsed it

First look at the interface code:

Copy code The code is as follows:







< /tr>


< /tr>



Please select the car type:












ForeColor="Red" ClientValidationFunction="ctvCar_Validation">



Control CustomValidator Related parameter description:
ErrorMessage: Set the verification prompt information
Display: Set the display mode, Dynamic means that when the prompt information is not displayed, the current position will not be occupied
ClientValidationFunction: Set and define the client-side custom verification function
Client script code:
Copy code The code is as follows:


Recipe15



Final display 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