[jQuery] Re: method_missing equivalent in jQuery?

2007-04-04 Thread chinmay
Oh well... I told you I was a newbie! Thanks for all the links though. On Apr 5, 2:32 am, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote: > I took a look at the docs for method_missing[1] and it looks a lot like > PHP's overloading "magic methods"[2], which are called when PHP is trying to > access a

[jQuery] Re: method_missing equivalent in jQuery?

2007-04-04 Thread Aaron Heimlich
I took a look at the docs for method_missing[1] and it looks a lot like PHP's overloading "magic methods"[2], which are called when PHP is trying to access a property/method that isn't defined on the object. If that is so, then I'm sorry to say that something like this does not exist in JavaScript

[jQuery] Re: method_missing equivalent in jQuery?

2007-04-04 Thread Brandon Aaron
Man that would be so cool if JavaScript as a language had the ability to do this but it does not. -- Brandon Aaron On 4/4/07, chinmay <[EMAIL PROTECTED]> wrote: Hi all, Usually, I'm this lurker who scrapes this list for tips to improve my jquery code. As a beginner, I can't begin to tell you

[jQuery] Re: method_missing equivalent in jQuery?

2007-04-04 Thread Jörn Zaefferer
chinmay schrieb: Hi all, Usually, I'm this lurker who scrapes this list for tips to improve my jquery code. As a beginner, I can't begin to tell you how useful it's been. I was just wondering: Can we have a method_missing or similar exception-catching scheme for jQuery? Dunno about you, but I'