Change CSS in JavaScript in multiple browsers

Posted Jun 22, 2009
Last Updated Nov 12, 2011

I have updated the popular Change CSS JavaScript function. While it has been used in many web applications over the last few years, it was time for me to spend an afternoon updating it. The function was not working in Google Chrome until this update.

Browsers I know that the function works properly in are listed below.

  • Internet Explorer 6+
  • Firefox 3+
  • Google Chrome 2.0.172.33 +
  • Safari 3.1.1 +
  • Opera 9.64 +

Comment

No HTML Tags are permitted.

Wall Worm plugins and scripts for 3ds Max