Hi Robert,
FWIW - Dojo's function is actually [window.]dojo.byId() and I believe that
Yahoo's is [window.]YAHOO.util.get().

Jon

Jon Ferraiolo <[EMAIL PROTECTED]>
Web Architect, Emerging Technologies
IBM, Menlo Park, CA
Mobile: +1-650-926-5865



                                                                       
             "Robert Sayre"                                            
             <[EMAIL PROTECTED]                                         
             >                                                          To
             Sent by:                  "Jim Ley" <[EMAIL PROTECTED]>   
             public-webapi-req                                          cc
             [EMAIL PROTECTED]               "Chris Wilson"                  
                                       <[EMAIL PROTECTED]>, "Ian
                                       Hickson" <[EMAIL PROTECTED]>, "Dave  
             12/20/2006 11:10          Massy" <[EMAIL PROTECTED]>,
             AM                        "Anne van Kesteren"             
                                       <[EMAIL PROTECTED]>, "Web API WG 
                                       (public)" <[email protected]>
                                                                   Subject
                                       Re: Selectors API naming        
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       





On 12/20/06, Jim Ley <[EMAIL PROTECTED]> wrote:
>
> No, one group of JS programmers do that, it is not representative of the
> entire industry at all

Mappings to getElementById in some popular JS libraries:

Yahoo UI: get()
Prototype.js: $()
MochiKit: $()
dojo: byId()

etc, etc.

I guess that's the nice thing about getElementsBySelector. It's like
picking 6 names all at once. :)

--

Robert Sayre

GIF image

GIF image

GIF image

Reply via email to