Hi,
This is kalaivanan. I am new to ajax. I did not kanow how to read xml
file using javascript.  I am using the following code.

var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
var xmlObj = null;

xmlDoc.async="false";
xmlDoc.load("test.xml");
xmlObj = xmlDoc.documentElement.childNodes;
//alert(xmlObj);
item_code.innerText = xmlObj.item(0).text;
//alert(item_code.innerText );

Kalaivanan.R


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" 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/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to