[jQuery] Select "orphan" text.
Hi all,
this time I need to know the way to select text that is not inside a tag. That is, in $("orphan1 <span> in span </span> orphan2 in p
orphan3") i would need to get a jQuery object like this : ["orphan1", "orphan2", "orphan3"].
I've been trying with functions like .filter(String) or .not("HTMLElement"), but none of them seem to work.
Any ideas? Thanks in advance.
Abel.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/