[jQuery] Select Text

2009-04-07 Thread Jean
The link of this exercise is below http://www.livrojquery.com.br/cap_10/arquivo-10.5c.html I'm having problems selecting items Seg. e Dom. Do not select. Dom. use because it contains the function case sensitive. Seg. e Dom. is different from. Dom. What is another selection to selec

[jQuery] select text for LI

2007-11-02 Thread sawmac
I'm trying to select text inside list items. I'm using jQuery's .text( ) method. Unfortunately, that returns the text of all children as well. That means for a nested list like this index.html about index.html more.html $('li').eq(1).text() returns 'about index.