I have many checkboxes in my page and there is a select all checkbox which checks all the checkboxes. Somehow I want to emulate that click event of checkbox even if it\'s checke
$("#gst_show>input").change(function(){ var checked = $(this).is(":checked"); if($("#gst_show>input:checkbox").attr("checked",checked)){ alert('Checked Successfully'); } });