| Page 1 of 1 | [ 1 post ] |
|
We are using yui 2.8 uploader with asp.net.
It works perfectly with all versions of IE. But did not work with FF and Chrome. We finally pinned down the issue to the call to uploader.upload. For IE we use uploader.upload(fileID, "WebService.asmx/Site_docs?.... For FF/Chrome we had to use uploader.upload(fileID, "../WebService.asmx/Site_docs? Strange why this should be the case. Any info would be appreciated. Secondly in onUploadCompleteData we use this to parse the returned xml: var xmlDoc; if (window.ActiveXObject) {// code for IE xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); } else if (document.implementation.createDocument) {// code for Mozilla, Firefox, Opera, etc. xmlDoc = document.implementation.createDocument("", "", null); } xmlDoc.async = "false"; xmlDoc.load(event.data); alert('here'); var root = xmlDoc.documentElement; This works well in IE but in FF/Chrome the xmlDoc.load does not work. It doesnt go to the alert. What could be the problem. |
| Page 1 of 1 | [ 1 post ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group