Aaron Gustafson 03 December 2005 Russell: yes and no. for and class are two attributes IE does not play well with. To change the for attribute in IE, you need htmlFor and for class you need className. Most other browsers support get/setAttribute on for and class. Now if you want to see something really screwy, check out how you need to work with IE on form elements you want to set a name on.
Russell: yes and no.
forandclassare two attributes IE does not play well with. To change theforattribute in IE, you needhtmlForand forclassyou needclassName. Most other browsers supportget/setAttributeonforandclass.Now if you want to see something really screwy, check out how you need to work with IE on form elements you want to set a
nameon.