Jarod Liu Sat, 22 Sep 2007 03:44:48 -0700
<ul> <li> text1 <ul> <li>text2</li> </ul> </li> </ul>
when i use $("ul li").text() i got a string containing both "text1" and "text2", how can i just get the string "text1". thanks in advance.