On Feb 22, 1:18 am, whylom <[EMAIL PROTECTED]> wrote:
> I'm not sure what "illegal Javascript syntax" is.
It means that it is syntax that is not specified as being correct per
the ECMAScript specification and can therefore be expected to throw an
error before execution begins.
> I just tested
I'm not sure what "illegal Javascript syntax" is. I just tested
Jörn's code and it runs without errors, and lets you do this:
$(thing).click(myFunc.bind(scope));
Instead of "illegal", can we just call it very very risky to extend
the prototypes of native JS objects? :) Altering the behavior o
On Feb 20, 9:17 pm, darki777 <[EMAIL PROTECTED]> wrote:
> Hi,
> is there any method to bind and create closures with "this" altered in
> jQuery (with chain possibility)?? Need it on various functions. I do
> not mean Events.
>
> Anythink like this:
> function myFunc()
> {
>
> }.bind(anything);
3 matches
Mail list logo