I have this script
$('[data-toggle="wizard-checkbox"]').click(function(){
if( $(this).hasClass('active')){
$(this).removeClass('active');
$(this).find('[type="checkbox"]').removeAttr('checked');
} else {
$(this).addClass('active');
$(this).find('[type="checkbox"]').attr('checked','true');
}
});
He add checked="checked" but radio or checkbox is still unchecked and Request:All in Laravel dont see this. How to edit this to do this checked?
Aucun commentaire:
Enregistrer un commentaire