[jQuery] jQuery and OOP

[jQuery] jQuery and OOP

Yes, that is what I was thinking about. It would be great.
Nandor
(In Hungarian the first name and last name are in reverse order ;)
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of John Resig
Sent: Wednesday, October 25, 2006 9:44 AM
To: jQuery Discussion.
Subject: Re: [jQuery] jQuery and OOP
Blair -
The extra, arbitrary, arguments is for event triggering, not binding,
unfortunately. For example:
$("#btnCounter").trigger("click",this.count,[this]);
Kolman -
Would something like this suit you well, where the 'this' of
this.count was preserved?
$("#btnCounter").bindObj( "click", this.count );
That, alone, wouldn't be too hard to add.
--John