harshpandya Posted June 5, 2008 Share Posted June 5, 2008 I have two files Calibrate.php and Calibrate.js. I have these variables in Javascript File called Calibrate.js. I am calling Calibrate.js in Calibrate.php file. Now i want to access these variables in Calibrate.php file in php code. How can i do it. Please small example would really help.Right now i am sending variables from calibrate.js to calibrate.php - which refresh the page and does it well. But i wanted to see if there is another way. thanks,Harsh Link to comment Share on other sites More sharing options...
justsomeguy Posted June 5, 2008 Share Posted June 5, 2008 The only way you can have PHP communicate with Javascript is to use AJAX to send a request to the PHP script using Javascript. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.