Tag Archives: class and className ie8

javascript class and className with ie8 and ie7

I often need to access CSS classes to get or set attributes using javascript, and have run into problems with internet explorer support. Here is a way to change the class of an element by ID: [code lang="javascript"] var someId … Continue reading

Posted in Javascript, ie8 | Tagged , , , , | Leave a comment