I've used the equivalent of $("summary voters a").html() for this, but I wonder if it's really correct and works in all browsers or not? It uses innerHTML.
-Mike > From: [EMAIL PROTECTED] > I have some xml that looks like this: > > <result> > <summary> > <voters> > <a href="user1">user1</a>, <a href="user2">user2</a> > </voters> > </summary> > </result> > > I would like to have a selector that just returned the > string: <a href="user1">user1</a>, <a href="user2">user2</a> > > but can't seem to get it. Here is what I have tried: > $("summary voters"); //returns: <voters><a > href="user1">user1</a>, <a href="user2">user2</a></voters> > > $("summary voters").text(); //returns: user1, user2 > > $("summary voters a").join(); //this seems to fail without > giving a message > > Can anyone point me in the right drection?