If you want to keep you function's context, you can still do
$('div').each( function() {
Context.myFunction( this );
} );
Anyway, I'm not sure it's a good idea to try to simulate object
oriented syntax with javascript.
It isn't an object oriented language and trying to make a language in
a foreign paradigm is always heavy.
But it is a personal opinion...
---
Ludovic
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---