Possible Duplicate:
How to pass JS variable to php?
pass a js variable to a php variable
I’m passing a javascript from a script to an html page using document.getElementById.innerHTML. The value is printed out correctly in my html page…Now I would know it is possible take this value print in html page and (always in the same page) put it in a php variable?
Create a hidden variable like this
in Javascript set value for that variable
in PHP