Search This Blog

Sunday, September 18, 2011

JQuery Check if element is checked and make it checked

if($('#cbxEmployeeFamily_'+planId).is(':checked')){
             
             $('#cbxEmployeeFamily_'+planId).attr('checked', true);
         }