jquery - Create a List of all LIs Name's
        Posted  
        
            by nobosh
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by nobosh
        
        
        
        Published on 2010-03-22T02:02:13Z
        Indexed on 
            2010/03/22
            2:11 UTC
        
        
        Read the original article
        Hit count: 330
        
Given the following block of HTML:
<ul id="taglist">
<li><a name="45" href="">Product 1</a></li>
<li><a name="1146" href="">Product 2</a></li>
<li><a name="13437" href="">Product 3</a></li>
<li><a name="51" href="">Product 4</a></li>
</ul>
Is it possible for JQUERY to return a STRING, one variable with the name values:
alert(tagliststring);
Would alert: 45,1146,13437,51
Thanks
© Stack Overflow or respective owner