[jQuery] Re: Querying XML with jQuery in IE6

2008-12-29 Thread Anonymous
got it! $("Test", data).each(function(i){ console.log($(this).attr("name")); console.log($("json", this).text()); }); On Mon, Dec 29, 2008 at 11:16 AM, Anonymous wrote: > ok, I find that I can get the json element very easy but still haven't > found a way to get the attribute name. >

[jQuery] Re: Querying XML with jQuery in IE6

2008-12-29 Thread Anonymous
ok, I find that I can get the json element very easy but still haven't found a way to get the attribute name. $("Test", data).each(function(i){ console.log($("[...@name]", this).text()); // does not work. console.log($("json", this).text()); // does work }); I have tried with the followi