- Sep 10, 2001
- 11,711
- 8
- 81
I need to change the css class of a span element dynamically so the text looks different on certain triggers.
I was testing in firefox using setAttribute('class', '(new class name)') and it works fine but as soon as I go into ie6 it's like ie6 does not honor class changes by this code...
any workaround ?
I was testing in firefox using setAttribute('class', '(new class name)') and it works fine but as soon as I go into ie6 it's like ie6 does not honor class changes by this code...
any workaround ?