I have a simple form which includes lots of radio buttons. Some of them are selected, some of the are not. Is there a way to get them all and set them to not checked. I guess setting to not checked can be done like this:
button.checked = false;
Question is, how do I get all the buttons?
Thanks!
$$('input[type="radio"]:checked').each(function(c){
$(c).checked = false;
});