I have once tripped on #methodize as well, but I believe it's not even needed here:
Element.addMethods({ $T: Element.select }) - kangax On May 10, 6:37 am, Tobie Langel <[EMAIL PROTECTED]> wrote: > There's already Element#select for that: > > $( element ).select( "div" ); > > Note that if you absolutely want that shortcut, you can always > implement it locally like so: > > Element.addMethods({ > $T: Element.select.methodize() > > }); > > Best, > > Tobie. > > On May 10, 9:45 am, 七星海 <[EMAIL PROTECTED]> wrote: > > > How about $( element ).$T( "div" ); > > Add a new method to Element.Methods > > > On May 10, 12:21 am, Tobie Langel <[EMAIL PROTECTED]> wrote:> How would tht > > be shorter than: $$('div') ? ;) > > > > Best, > > > > Tobie > > > > On May 9, 5:43 pm, disccomp <[EMAIL PROTECTED]> wrote: > > > > > I think A shortcut for getElementsByTagname would help be really > > > > useful, so I thought I'd mention it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---