Re: Javascript
| From: | Scott St. John | Date: | Tue, 25 Feb 2003 21:14:39 +0000 |
| Subject: | Re: Javascript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137136@lists.php.net to get a copy of this message | ||
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