There are two lines from my js code:
document.getElementsByName('group')[0].removeAttribute('disabled');
document.getElementsByName('group')[0].removeAttribute('checked');
First string works good but second one makes nothing. I want to follow html5 style so setting false
value for checked
isn't my choice.
And by the way I look for method to set empty attrs. Methods from other topics like .setAttribute(attr_name,"");
do exactly what they are: create attr with empty string value but not just attr. What should I do?