jeudi 21 septembre 2017

How to enable all the radio button with a checkbox by using javascript?

I am trying to enable all radio button on the page with a checkbox how ever the code didnt work

if (document.getElementById('edit-submitted-enable-1').checked){

$("input[type=radio]").attr('enabled', true);
}




Aucun commentaire:

Enregistrer un commentaire