Cannot get element out of wrapped set.
Hello,
I am selecting a group of li elements. The following code returns me a length of '8'
-
$('.HwCitationsContent li').length
However when I try to get the text from a particular item in the set I get nothing. In fact, the msg box won't even appear.
-
alert($('.HwCitationsContent li')[1].text())
What am I missing here? Thanks!