Select Element from a div tag
        Posted  
        
            by MSI
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by MSI
        
        
        
        Published on 2010-06-01T19:17:33Z
        Indexed on 
            2010/06/01
            19:23 UTC
        
        
        Read the original article
        Hit count: 169
        
JavaScript
How can I select the first tag with center id name in sample below code?
<div id=first>
     <div id=center></div>
</div>
<div id=first>
     <div id=center></div>
</div>
        © Stack Overflow or respective owner