-
Reading XML in Javascript
How do I read this message using javascript? I have a basic understanding of xml and javascript.
I used getElementsByTagName("ERROR")[0].childNodes[0].nodeValue to access the error message it gave me an error saying "object required" on this line.
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <ERROR key="JOBRUN_ERROR1" level="1">
- <MSG>
- <![CDATA[ Job Run Error.
]]>
</MSG>
- <DETAILS>
- <![CDATA[
Error: Unable to find job record: job owner = NT00000029 job name = AP510.
]]>
</DETAILS>
</ERROR>
Thanks for all the help.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks