Cannot access to XML file with javascript
By webwag
28 Jun 2013 09:17
English
2 Replies
Hello,
I am developing a HTML5 based app for Tizen, using their tizen-privilege API.
This app needs to get the content of a XML file hosted on a remote server using HTTP protocol. So i used a XMLHttpRequest object to deal with that :
xmlhttp=new XMLHttpRequest();
xmlhttp.open("GET","http://.../auto.xml",false);
xmlhttp.send(null);
xmlDoc=xmlhttp.responseXML;
And i got this error :
ABORT_ERR: XMLHttpRequest Exception 102: The user aborted a request in synchronous requests.
Could somebody tell me what does that mean ?
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------