In the jQuery the $ function have two attributes the second is
context, and it is very useful, for example:
$("div").each(function(){
$("img",this).hide()
$(".....",this).dosomething()
})
And in the Prototype there is also Selector.findChildElements and the
first attribute is the context, and this function is not recommended
for the end users to use, I think is is good to create a new function
called "$$$" or something like that to make a short selector function
and supports context.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to