hi to all
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 variables
Any help would greatly appreciated.
Thanks
Tirso
I tried this code but I got value always 1
here is my code
function do_upload()
{
$categories = print '<script type="text/javascript">window.top.window.$("#categories").val();</script>';
}
the value I've got for $categories is always 1;