ok, I got the opposite way, but how can I ask: if (jscript.variable then...)
Can you please give a better explanation. i can only guess what you want
to pass php variable to jscript variable: var variable = '<?php print "$phpvariable"; ?>'
what the opposite? var alfa = 1 how can I test alfa value from within PHP?