167
rated 0 times
[
172]
[
5]
/ answers: 1 / hits: 69637
/ 15 Years ago, wed, december 9, 2009, 12:00:00
In javascript is there any difference between using
element.style.setAttribute('width', '150px');
and
element.style.width = '150px';
?
I have seen that keywords won't work with the first way (like this), but for non-keyword attributes is there a difference?
More From » html