View Single Post
Old 12-01-2004, 07:06 PM   #3 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
Yep. Stuff it in a form from JS to PHP, then for PHP-to-JS you'll either have to place the var in a form (hidden maybe - then JS can access as needed) or echo a JS var assignment.

eg:
PHP Code:
<?php
  $foo 
'myid';
  echo 
'<script> var js_id = "{$foo}";</script>';
?>
-r
idx is offline   Reply With Quote