and javascript
| From: | Stacy Hunter | Date: | Mon, 06 Nov 2000 20:46:18 +0000 |
| Subject: | and javascript | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4257@lists.php.net to get a copy of this message | ||
I have an img that when it is clicked displays an alert window with the
associated value:
<img onMouseDown=alert(document.Banners.nominate.value=$number)
src=\"nominate.gif\" name=\"nominate\">
I now want to take that value, "document.Banners.nominate.value=$number"
and convert it to a string that I can then insert into a mysql table.
Does anyone know how to pass variables between javascript and php?
Much obliged.
- Stacy