Usually you would have the actual page between the () so it would be:

echo "<a class=\"white\" href=\"javascript.openpopup('whatever.php?Unique_Id')\"";

-Scott




At 04:10 PM 2/25/2003 -0800, Todd Barr wrote:


I have tried this 3 different ways and none of them worked...

I am trying to get javascript to generate a popup, with a variable passed along in the url.

echo"<a class=white href='javascript.openpopup()' $Unique_Id>";

this doesn't work, neither does stopping PHP and then restarting...

Blah, any advice on how to embed javascript?



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to