Monthly Archives: January 2009

Scoping Javascript closures in loops

It must have been something I ate, cause this is like the third post in 2 days I think! This is a quick one, but super handy to know if you don’t already. There is semi-common problem I run into, and it has to do with scoping of closures inside of loops. [...]
Tagged , , | 1 Comment

Browser autocomplete and keyup events

Browser oddities are nothing new, but I came across one today that I haven’t heard about before, and couldn’t seem to find many comments about on the interwebs. To get to the gist of it, when the native browser autocomplete functionality pops up for a text input, it also triggers a keyup event for [...]
Tagged | 1 Comment

Followup on YUI : getFirstDescendantBy()

Awhile ago I posted on an additional function for YAHOO.util.Dom called getFirstDescendantBy(). I was following the ticket submitted to the YUI Sourceforge tracker, and saw that it had been closed out, and that a new function called YAHOO.util.Dom.getElementBy() was added to fill this request. I decided to check out the newly available YUI [...]
Tagged , | 1 Comment