i got this problem any one there to help me solve this problem, this is really aching. I am using swipejs for the carousal on ipad, so it works fine till i am not including jquery.js but when i include the jquery.js script it gives the following error XMLHttpRequest cannot load file://localhost/Applications/MAMP/htdocs/Digital/phonegap/www/swipe.js?_=1352274440669. Origin null is not allowed by Access-Control-Allow-Origin.
can any body help me. Thankyou
There are 2 sides for enabling cors
1. Client Side Make sure that Cors is enabled.It can be done by meta http-equiv="Access-Control-Allow-Origin" content="*" or use any others option.
Solution to your Problem is that above url may not be cors enabled and pls check by firing url with using advanced restclient in chrome in client side is enabled as default or not please enabled it .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.