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 +
  • Safari 3.1.1 +
  • Opera 9.64 +


No HTML Tags are permitted.

Wall Worm plugins and scripts for 3ds Max