Tag : jQuery to Check Uncheck Select Deselect all items in Asp.net CheckBoxList on click of Select All CheckBox

Home » Posts tagged jQuery to Check Uncheck Select Deselect all items in Asp.net CheckBoxList on click of Select All CheckBox"

Complete ASPX HTML Codes:- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default5.aspx.cs" Inherits="Default5" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <script src="http://code.jquery.com/jquery-1.11.1.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { //Check all/UncheckAll skills if Select All is Checked/UnChecked $("#<%=chkSelectAll.ClientID %>").click(function () { $("[id*=chkSkills] input:checkbox").prop('checked', this.checked); }); $("[id*=chkSkills] input:checkbox").click(function () { //If Select ..

Read more