Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2013 (Bloomington, MN) with: Brad Wood
Ben Nadel at cf.Objective() 2013 (Bloomington, MN) with: Brad Wood@bdw429s )

tc

Member since Aug 20, 2010

Recent Blog Comments By tc

  • Dereferencing Javascript Variables in Dynamic Methods

    Posted on Aug 20, 2010 at 2:19 PM

    for (var intI = 0 ; intI < 10 ; intI++){ var objA = document.createElement( "div" ); var thisI = intI; // Set the click for the link. objA.onclick = function(){ alert( thisI ); }; // Set the link into the body div. objDiv.appendChild( objA ); }... read more »