Please check out the code below. I am having a hard time getting the
protortype selectors to be applied to this item. Hoping to avoid
having to use childNodes to parse this data.
var xml = '<data><status>OK</status></data>';
var parser = new DOMParser();
var doc = parser.parseFromString(xml, "text/xml");
console.log(doc);
// Errors
console.log($(doc).documentElement.select('status'));
I have seen this exact thing done with jQuery's find command.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---