Check Uncheck All Checkboxes in Gridview Using JQuery
This article explains how to check or uncheck all checkboxes in your GridView using jQuery. Use the following procedure to do that.
The example code as given below
This article explains how to check or uncheck all checkboxes in your GridView using jQuery. Use the following procedure to do that.
The example code as given below
<script type="text/javascript">
$(function () {
function selectAllCheckBoxes(chkb) {
$('#<%=gdvAllCheckboxes.ClientID%>').find("input:checkbox").each(
function () {
if (this !== chkb) {
this.checked = chkb.checked;
}
});
}
});
</script>
0 comments:
Post a Comment