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:
- Downloading a specific element of a webpage in another domain.
- Show the data through a dialog.
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?