Loading a local XML file in Chrome, Firefox and IE 10
Like me, you might have found it a challenge at first to load a local .xml file into Chrome. Well this video might help you solve that problem. If it does help please leave a comment below.
I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. brsm.io
Hi,
ReplyDeletePlease help me with the following code. Its not working in IE 11. Error: fLoad XMLS is null.
var xDoc;
if (document.implementation && document.implementation.createDocument) {
xDoc = document.implementation.createDocument("", "", null);
xDoc.onload = function() {
fGetMenuItems(xDoc);
};
} else if (window.ActiveXObject)
{
alert("1");
xDoc = new ActiveXObject("Microsoft.XMLDOM");
xDoc.onreadystatechange = function()
{
if (xDoc.readyState == 4)
{fGetMenuItems(xDoc);}
};
} else {
alert('Unable to process script. Please make sure your browser meets minimum requirements.');
bLMS = false;
}
xDoc.load("course_data/menu_load.xml");
PLz i will wait for that
ReplyDeleteI appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. brsm.io
ReplyDelete