ot just
>
> var monkey = {name:'Dave',
> climb:function(){alert(this.name + 'is
> climbing');}
> monkey.climb();
>
> On Apr 2, 8:02 am,Thom<[EMAIL PROTECTED]> wrote:
>
> > This works:
>
> > var monkey = { name:
This works:
var monkey = { name: 'Dave' }
$(monkey).bind('climb', function(monkey) { alert(this.name + ' is
climbing!'); });
$(monkey).trigger('climb');
I really just wanted to check that this was expected functionality -
and isn't going to disappear anytime soon - as I'd like to lean on it
quit
2 matches
Mail list logo