Loading XML file using AJAX

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Loading XML file using AJAX

Postby Farooq » Sat Jul 02, 2011 3:36 am

Hi All,

I want to load an XML file in my HTML application. Is it possible to load XML file using AJAX? or is there any alternate method? If somebody could provide me sample code that will be highly appreciated. I looked into the xmlHttpRequest example in CEFClient application. It only dumps the request header but doesn't do anything useful otherwise. How can I use it to load an xml file.

Any help would be highly appreciated,
Farooq-
Farooq
Techie
 
Posts: 15
Joined: Tue Jun 21, 2011 8:52 pm

Re: Loading XML file using AJAX

Postby magreenblatt » Sat Jul 02, 2011 9:16 pm

Google "xmlhttprequest xml"
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Loading XML file using AJAX

Postby Farooq » Tue Jul 05, 2011 1:49 pm

Hi Magreenblatt,

I was able to fix this problem by setting universal_access_from_file_urls_allowed to true.

Farooq-
Farooq
Techie
 
Posts: 15
Joined: Tue Jun 21, 2011 8:52 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 33 guests