I'm currently developing a mobile web application with jQM.
Although I looked for answers to my question, I couldn't find any good answers.
Here is my goal:
I'm stuck with the first step because of the cross-domain issue.
Some people writes about using JSONP with a callback function, but it seems that the technique only works when handling JSON format.
I also read that because of the security issues, JavaScript doesn't support downloading the html page in another domain.
Are they right?
There is no way to achieve my goal through JavaScript?
There are many workarounds for this issue (JSONP, reverse proxy, 'Access-Control-Allow-Origin', etc..) described in a very extensive thread here on SO: Ways to circumvent the same-origin policy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With