Error Loading Xml Document Chrome
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack
Error Loading Xml Document Object Object
Overflow the company Business Learn more about hiring developers or posting ads with us error loading xml apple tv Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a ssis error loading from xml community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Loading XML into Document object in Google Chrome up vote 1 down vote favorite I am
Document.implementation.createdocument Load
unable to load an XML file into a JavaScript Document in Google Chrome with the following function: // load XML document based on whether the browser is IE or other browsers function loadXMLDocument(url) { var doc; if (window.ActiveXObject) // IE { doc = new ActiveXObject("Msxml2.DOMDocument.6.0"); doc.async = false; doc.load(url); alert('document loaded in IE'); } else if (document.implementation && document.implementation.createDocument) { doc = document.implementation.createDocument("", "", null); // this line seems to cause
Xmldoc.load Is Not A Function
an error in Chrome doc.load(url); doc.onload = function() { alert('document loaded in other browsers except Chrome'); } } } This code works fine in IE6/7, FF2/3.x, but not in Chrome. javascript xml cross-browser google-chrome share|improve this question edited Dec 11 '09 at 6:55 asked Dec 11 '09 at 6:45 Raul Agrait 3,65633367 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted Document.load() is not yet supported in WebKit. Consider using an XmlHttpRequest. Reference: chromium share|improve this answer answered Dec 11 '09 at 6:49 jonchang 82048 +1. There is a DOMParser you can have from WebKit and Mozilla, but when you're fetching a resource the simple, straightforward thing to do should be a plain old XMLHttpRequest. –bobince Dec 14 '09 at 4:04 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged javascript xml cross-browser google-chrome or ask your own question. asked 6 years ago viewed 4103 t
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
Freitag, 14. Oktober 2016, 02:28 Zum Seitenanfang Forensoftware: Burning Board, entwickelt von WoltLab GmbH Dauerhaft angemeldet bleiben?