It's doesn't work ( Why? Can anybody explain, please
function checkBox() { if($('#checkbox').prop('checked', true)) { $('body').css('background','yellow'); } else if ($('#checkbox').prop('checked', false)) $('body').css('background','blue'); }
Aucun commentaire:
Enregistrer un commentaire