Here is the code snippet for my button:
Click MeCheck out this script for a model window:
$("#check_all").click(function(event) {
if(this.checked){
$(".test").each(function()
{
this.checked=true;
});
}
else
{
/* this.checked=true; */
this.checked=false;
$(".test").each(function(){
this.checked=false;
});
}
});
I have included a table in my model window. Any thoughts on what might be causing an issue?