Google Gravity
Gotta love it… A Chrome experiment called “Google Gravity” I totally love it. Works in Safari 4 and somewhat in FireFox as well.
Gotta love it… A Chrome experiment called “Google Gravity” I totally love it. Works in Safari 4 and somewhat in FireFox as well.
I was pulling my hair out trying to figure out why I was getting a parse-error with this code… DUH!
document.getElementById('test').class = "test"
“class” is a reserved name, of course… So you access it with:
document.getElementById('test').className = "test"