Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFUNITED 2008 (Washington, D.C.) with: Dee Sadler
Ben Nadel at CFUNITED 2008 (Washington, D.C.) with: Dee Sadler@DeeSadler )

Juan Leung

Member since Oct 14, 2011

Recent Blog Comments By Juan Leung

  • Creating A Timer (Timeout) Using jQuery Deferred Objects

    Posted on Oct 14, 2011 at 2:32 AM

    There a error in the demo code, the correct way should have been internalTimer = setTimeout( function() ... so when clearTimeout( internalTimer ) is called the timer would stop, but why is still seems to work fine? I'm guessing that the answer is when deferred.rejectWith is called, it would p... read more »