X-domain correct - Ajax trying to print to textbox

0 favourites
  • 3 posts
From the Asset Store
Forget about default textbox restrictions, you can create sprites atop of the textbox
  • I bet you guys are sick of these questions but I am ONE more from the army of 'I can't find my answer on the forums!'

    I have cross domain setup correctly. I SEE the response and in the preview see that my echo of "GOT IT!" is returned.. but cant make the text box in my project to change ... must be missing something glaringly stupid here. **LET ME CLARIFY ... I cant get the AJAX object to respond once the Request is sent -- no Completed or Error...

    HERE ARE PICS:

    YOU can see that I get a proper response:

    <img src="http://toddvance.com/games/screens/crossdomainSent.PNG" border="0" />

    Here is the response (via an ECHO):

    <img src="http://toddvance.com/games/screens/crossdomainresponse.PNG" border="0" />

    Here is my logic:

    <img src="http://toddvance.com/games/screens/crossdomainlogic.PNG" border="0" />

    Here is the PHP file if you want :

    <img src="http://toddvance.com/games/screens/crossdomainphp.PNG" border="0" />

    So nothing in the textbox ever changes ... BESIDES of course the CLICK event message. Help?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Your Ajax request is tagged justgetmessage but your on complete is looking for a tag of complete. The Ajax tag and the little quotes for complete, error, progress should all match. That would be my guess on how to fix it.

  • Tahahawahaa! That is awesome! I am such a DUNCE! I wasnt even thinking about the tags... (slaps forehead really hard).

    THANK YOU! That was exactly my problem!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)