[thelist] php in javascript

raditha dissanayake jabber at raditha.com
Fri Nov 12 18:25:44 CST 2004

Jay Fitzgerald wrote:

> Does anyone know why this isnt carrying my $id to the next page?
> window.open('video.php?id=<?php echo $id; ?>')
no reason why it should not work. However if you have your javascript in 
a separate file (with a different extension) which you include in your 
php script rather than embedding it, probably will not work for you. The 
javascript console may have error messages that you might find usefull.

> Jay

Raditha Dissanayake.
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/              | Drag and Drop Upload

More information about the thelist mailing list