I read the manual about AJAX object but I don't understand this completely.
How do I use AJAX to download the content from my website?
I have a php website and write some data with echo and can request this with parameters in url ($_GET["var"]).
Works fine with other dev programs. But with contruct 2 and AJAX browsers block requests across domains.
The manual says:
If you want AJAX requests to your server to work from any domain, or in preview, you can configure it to send the following HTTP header:
Can you help me, please? Explain with an example?
For the first I just have a text and ajax object. ajax request a url and load the lastdata in the text object.
On the same domain / website its works. But not on localhost or others.
PS: I develop for iOS. And want this feature.