How to use variables in li:n-th child in jQuery.

Posted by Wondering on Stack Overflow See other posts from Stack Overflow or by Wondering
Published on 2010-03-23T10:40:13Z Indexed on 2010/03/23 10:43 UTC
Read the original article Hit count: 331

Filed under:
|

Hi All, As the title goes I am trying something like

 $("ul li:nth-child(' + xx + ') a").text() //this is coming as blank.

what is the correct format?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript