Hi Guys,

I am trying to apply Microsoft.XMLDOM object for all browsers support but i am not getting proper code or object.

can anyone help me on this one.

var nodes = new ActiveXObject("Microsoft.XMLDOM");
nodes.async = "false";
if (Comments.length > 0) {
nodes.loadXML(Comments.item(0).xml);

Thanks in advance.
Gaurish

ActiveX only works for IE. Try jQuery or another Javascript based XML tool.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.