On Mon, 16 Oct 2006, Aaron Heimlich wrote:
> On 10/16/06, Blair McKenzie <[EMAIL PROTECTED]> wrote:
>>
>> $("#div")[call]()
>
> Blair's right.
>
> $("#div").call()
>
> tries to call the "call" method on $, but since there is no "call" method
> (that I know of), it's not working.
Actually, there is:
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Function:call
Using call or apply is another approach to solving this type of problem,
but you have to be careful to pass in the appropriate "thisArg", which in
this case would be the jQuery object itself.
Dave
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/