Archive for April 2010
2010
10
Apr
$(“#objectID”) != document.getElementById(“objectID”)
Using document.getElementById(“…”) in plain ol’ Javascript will return a reference the DOM element by the given name. In jQuery, we use $ for everything. So I assumed using $(“#…”) would be the same thing. This is wrong. $(“#…”) will return an associative array (object) which is what allows us to change properties of the DOM … Continue reading
2010
10
Apr
CSS Naked Day
Yesterday was CSS Naked Day. CSS Naked Day was thought up by Dustin Diaz. The purpose of CSS Naked Day is to to promote Web Standards; including proper use of XHTML, semantic markup, and a good hierarchy structure. In other words it disables your CSS for for a 24 hour period in order to promote … Continue reading
