With tongue firmly in cheek, DOM Scripting Task Force member Dean Edwards says:
setAttribute. It also fixes broken browser implementations of the event handling
So, as you can see, it doesn’t do much. But what it does, it does consistently across a lot of platforms.
If you’re finding cross-browser DOM Scripting to be a real hassle, this could be just what you need. It creates a level playing field. You won’t get any fancy animations or $ shortcuts but you will get peace of mind for 20K. This probably isn’t a script for beginners but if you’re an advanced developer, you might appreciate the power this gives you.
- #1 On March 29th, 2007 5:41 am