ActiveX in Mozila is not working
-
Dear All i M loading a xml file from javascript..that is working in IE. but its not working Mozila.. this is the code
function importXML()
{
if (document.implementation && document.implementation.createDocument)
{
xmlDescription = document.implementation.createDocument("", "", null);
xmlDescription.onload = getDescription;xmlDoc = document.implementation.createDocument("", "", null); xmlDoc.onload = getData; } else if (window.ActiveXObject) { xmlDescription = new ActiveXObject("Microsoft.XMLDOM"); xmlDescription.onreadystatechange = function () { if (xmlDescription.readyState == 4) getDescription() }; xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.onreadystatechange = function () { if (xmlDoc.readyState == 4) getData() }; } else { alert('Your browser can\\'t handle this script'); return; } xmlDescription.load("details.xml"); xmlDoc.load("settings.xml"); }
becouse of activex controls is not working in Mozila... any solution for that to including activex control in mozila....????? or any alternate way to load xml file from javasript..?????? Please.... Regards Rajeesh MP
-
Dear All i M loading a xml file from javascript..that is working in IE. but its not working Mozila.. this is the code
function importXML()
{
if (document.implementation && document.implementation.createDocument)
{
xmlDescription = document.implementation.createDocument("", "", null);
xmlDescription.onload = getDescription;xmlDoc = document.implementation.createDocument("", "", null); xmlDoc.onload = getData; } else if (window.ActiveXObject) { xmlDescription = new ActiveXObject("Microsoft.XMLDOM"); xmlDescription.onreadystatechange = function () { if (xmlDescription.readyState == 4) getDescription() }; xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.onreadystatechange = function () { if (xmlDoc.readyState == 4) getData() }; } else { alert('Your browser can\\'t handle this script'); return; } xmlDescription.load("details.xml"); xmlDoc.load("settings.xml"); }
becouse of activex controls is not working in Mozila... any solution for that to including activex control in mozila....????? or any alternate way to load xml file from javasript..?????? Please.... Regards Rajeesh MP
See if this[^] helps. Install FireBug and debug the JS code.
Navaneeth How to use google | Ask smart questions
-
See if this[^] helps. Install FireBug and debug the JS code.
Navaneeth How to use google | Ask smart questions
Hi Navneeth that is not working