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.
>
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
2 matches
Mail list logo