Skip to main content

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel