Just for the record, if you weren't able to modify the html, you could
use my Text Children plugin, which, unlike .text(). isn't recursive:
http://plugins.learningjquery.com/textchildren/
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 5, 2009, at
Can you just make life REALLY easy on yourself and put the text in a
span tag or something?
ie/
ul
lispanList Item1/span/li
lispanList Item2/span
ul
liSub Item1/li
liSub Item2/li
/ul
/li
/ul
then
http://docs.jquery.com/Selectors/firstChild
You know how sometimes you are working on a problem and you stare at
it so long that the most obvious answers escape you until someone
points it out and it is like a smack in the face?
Yeah. Serious 'duh' moment on my part. Thanks.
On Feb 5, 3:32 pm, MorningZ morni...@gmail.com wrote:
Can you
3 matches
Mail list logo