ltrem Posted September 17, 2009 Share Posted September 17, 2009 I'll make this short before posting my code, I call my php pages which execute an Insert on my Database... the query is executed without problems... then I finish the .php with echo "test"; And the responseText is just empty...! I goes in the stateChanged function since I display an Alert but when I try to display the responseText (Which should be "test")... it is just Empty... Any ideas? Link to comment https://forums.phpfreaks.com/topic/174607-solved-calling-php-pages-from-javascript-php-executed-but-no-responsetext/ Share on other sites More sharing options...
ltrem Posted September 17, 2009 Author Share Posted September 17, 2009 The PHP I called was from another subdomain... so the returned value just didn't came back since AJAX need to be executed on the same domain........... grrrr! SOLVED ! Link to comment https://forums.phpfreaks.com/topic/174607-solved-calling-php-pages-from-javascript-php-executed-but-no-responsetext/#findComment-920193 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.