[jQuery] $.("anc desc").text() returns all text, not descendant's text

2008-06-17 Thread mkn
Hi all, Feel free to refer me to a FAQ if I've missed one. Where 'a' is a jquery object representing a div element, I have a.("#" + a.attr('id') + " .personal").text() in my code. I would expect that this would return only the text of the descendant node with the class "personal," but I

[jQuery] $.("anc desc").text() returns all text, not descendant

2008-06-17 Thread mkn
Hi all, Feel free to refer me to a FAQ if I've missed one. Where 'a' is a jquery object representing a div element, I have a.("#" + a.attr('id') + " .personal").text() in my code. I would expect that this would return only the text of the descendant node with the class "personal," but I