Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Jon Hancock

Member since Sep 7, 2009

Recent Blog Comments By Jon Hancock

  • Binding Events To Non-DOM Objects With jQuery

    Posted on Sep 7, 2009 at 4:18 PM

    try your experiment with something like this: // User is just a simple js "class". var user = new User(); $( user ).bind("loggedin", function( objEvent, objData ){ $().log("logIN clicked"); }); I certainly can't get it to work. You get an error of invalid object initializer. I think your exa... read more »