phppaper Posted July 4, 2008 Share Posted July 4, 2008 I have a function in the head section: <script type="text/javascript"> function tempfunction() { var temp; temp = document.form.textfield.value; } </script> and I want to use a php variable to store the javascript variable for other use. How to do so??? Link to comment https://forums.phpfreaks.com/topic/113176-use-php-variable-store-javascript-variable/ Share on other sites More sharing options...
trq Posted July 4, 2008 Share Posted July 4, 2008 You will need to submit the value back to the server (where php runs). Link to comment https://forums.phpfreaks.com/topic/113176-use-php-variable-store-javascript-variable/#findComment-581481 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.