Tag Archives: javascript

“YUI 2.8: Learning the Library” Free Chapter

Grab a free chapter of the latest YUI book from Packt Publishing, “YUI 2.8: Learning the Library.” The free chapter covers something we all use a lot, menus. I’m checking it out now, and suggest if you use, or are thinking about using YUI, you do the same since it’s free. I’ve been using YUI [...]

Also tagged | Leave a comment

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. Lets get straight [...]

Also 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 the [...]

Tagged | 3 Comments

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 source code [...]

Also tagged | 1 Comment

Javascript widget approaches: Singleton vs Prototype

Recently I’ve been doing some work setting up some standard javascript widgets for a web application I am working on. By widget, I’m referring to items such as javascript date pickers, tooltips, autocomplete inputs, etc. I’m building on top of YUI for this approach, but the principles I’d like to discuss are applicable to any [...]

Also tagged | 6 Comments

Page optimized by WP Minify WordPress Plugin