Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
<img src="http://www.pechac.sk/images/ajax.PNG" border="0" />
pechac.sk/myGames/ajax
What is wrong ?
Develop games in your browser. Powerful, performant & highly capable.
Maybe your text object is too small to display the output. Your test.php is outputting:
{newline}
test
<img src="http://www.pechac.sk/images/ajaxText.PNG" border="0" />
Look up AJAX in the manual. If you are making a cross-domain request, you need to specially set up the server.
A cross-domain request ?
From pechac.sk/myGames/ajax/index.html
To http://www.pechac.sk/myGames/ajax/test.php
pechac.sk/myGames/ajax/index2.html%20 / without C2 / is OK :
Strange, in Preview was URL BBcode OK ...
C2 :
pechac.sk/myGames/ajax/index.html
without C2 :
pechac.sk/myGames/ajax/index2.html