I use this script to load an xml however if I use opera I get the alert('Your browser can\'t handle this script'); then ,is there also a method to use it wit opera
importXML();
function importXML()
{
if (document.implementation && document.implementation.createDocument)
{
xmlDoc = document.implementation.createDocument("", "", null);
xmlDoc.onload = Startloading;
}
else if (window.ActiveXObject)
{
xmlDoc = new ActiveXObject("Microsoft.XMLDOM"
;
xmlDoc.onreadystatechange = tmp;
}
else
{
alert('Your browser can\'t handle this script');
return;
}
xmlDoc.load(docnaam);
}
function tmp()
{
if (xmlDoc.readyState == 4) Startloading();
}
importXML();
function importXML()
{
if (document.implementation && document.implementation.createDocument)
{
xmlDoc = document.implementation.createDocument("", "", null);
xmlDoc.onload = Startloading;
}
else if (window.ActiveXObject)
{
xmlDoc = new ActiveXObject("Microsoft.XMLDOM"
xmlDoc.onreadystatechange = tmp;
}
else
{
alert('Your browser can\'t handle this script');
return;
}
xmlDoc.load(docnaam);
}
function tmp()
{
if (xmlDoc.readyState == 4) Startloading();
}