I'm not sure which way you are trying to go, but here is a function I use all the time:
<?php function jAlert($foo){ ?> <script language="JavaScript" type="text/javascript"> <!-- alert('<?= $foo ?> '); //--> </script> <? } /*Some Code or html......................... ............................................. */ jAlert("wow"); ?> "Sichta Daniel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi !! > > Is there any way to parse variable from JavaScript to PHP ? Something like: > function xxx (id) { > <? $id = ?> id; > } > > DAN > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]