Master checkbox element:
Assigning extra JS event to the control checkbox above:
<input type="checkbox" name="checkAllAuto" id="checkAllAuto" value="1"/>
Assigning extra JS event to the control checkbox above:
$('#checkAllAuto').click(
function()
{
$("INPUT[type='checkbox']").attr('checked', $('#checkAllAuto').is(':checked'));
}
)
function()
{
$("INPUT[type='checkbox']").attr('checked', $('#checkAllAuto').is(':checked'));
}
)
No comments:
Post a Comment