Consider following HTML snippet:

<input type="checkbox" checked/> Input 1
<input type="checkbox" checked/> Input 2
What jQuery code will you use to uncheck the checkboxes?
Explanation
.attr() method get or set the value of an attribute for the selected elements. Example:

$('input') // select input elements
   .attr('checked', false); // set checked attribute to false

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з JavaScript
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести