Is it possible to load several data files (file1.xml, file2.xml, file3.xml,..) with
jQuery.getJSON
My objective is to load data in an application which is based on JQuery+HTML5.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your data is in the same domain as the javascript code executing the AJAX request, you can do it by a simple jQuery get request:
If the data resides in a different domain than your javascript code, you should use jsonp, see examples:
http://www.jquery4u.com/json/jsonp-examples/