Skip to main content

Dave Hulbert

Member since Apr 23, 2010

Recent Blog Comments By Dave Hulbert

  • Binding Events To Non-DOM Objects With jQuery

    Posted on Apr 23, 2010 at 9:10 AM

    @Ben, great post - just what I was looking for. @Jon, works for me (in Firefox): function User(name) { var my_name = name; this.get_name= function() { $(this).trigger('got_name', my_name); return my_name; }; } d = new User('dave'); $(d).bind('got_name', function(e, d){a... 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