Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at NCDevCon 2011 (Raleigh, NC) with:

db

Member since Dec 11, 2008

Recent Blog Comments By db

  • Ask Ben: Removing Duplicate List Items While Maintaining Original List Order

    Posted on Jan 15, 2009 at 1:44 PM

    i did this for a couple of lists, just a little differently, but the results i think are the same. the lists were css and js files to be written to the document head, so the original order had to be maintained and the first occurrence of a duplicate had to remain. i did it by looping the list from e... read more »

  • Ask Ben: Optimizing Form Inputs For Numeric Keypad Usage

    Posted on Sep 26, 2008 at 11:20 AM

    ok, i had to fix this - you know how irritating it is to copy some code and have it fail. var $allfields = $('input.input-field'); var $tabfields = $('input.input-field:not(:last)'); $tabfields.keypress( function (e) { if( (e.which) == 13 ) { $allfields[ $allfields.index(e.target) + 1 ].focus(); ... read more »

  • Ask Ben: Optimizing Form Inputs For Numeric Keypad Usage

    Posted on Sep 25, 2008 at 1:13 PM

    you wouldn't have to check for last if the selector had excluded it: var $fields = $('input.input-field:not(:last)'); then all you need is: $fields.keypress( function (e) { if( (e.which) == 13 ) { $fields[ $fields.index(e.target) + 1 ].focus(); e.preventDefault(); return false; ... read more »

  • jQuery 1.2.6 Even Better!

    Posted on Jun 6, 2008 at 11:23 AM

    regarding increased file size - i just upgraded the version on a site i'm working on using src=" http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js " now if you were to use the same src on your site, then my browser will use my cached version - so no download or unpacking. more opti... read more »