The Little Guy Posted December 15, 2007 Share Posted December 15, 2007 I am using AJAX, is it possible for PHP to return a variable for the JavaScript to use? Link to comment https://forums.phpfreaks.com/topic/81810-php-return-javascript-variable/ Share on other sites More sharing options...
PC Nerd Posted December 15, 2007 Share Posted December 15, 2007 i dont know about directly however if php returns: <vars> <variable_name>VALUE</variable_name> </vars> or similar javascript will be able to store theat value *** my xml is probably wrong but i hope you get the idea Link to comment https://forums.phpfreaks.com/topic/81810-php-return-javascript-variable/#findComment-415631 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.