I have a php function, in this function I have a javascript which get the value of my element from parent window. My problem now is, how can I pass this value into php varia
The PHP print() language construct always returns 1.
PHP executes on the server side. JavaScript executes on the client side. You cannot mix them directly. The best you could do would be to have JavaScript make an AJAX call to a PHP script on the server.