Form ID name
| From: | Morten Nielsen | Date: | Sun, 07 Apr 2002 18:43:30 +0000 |
| Subject: | Form ID name | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-91938@lists.php.net to get a copy of this message | ||
Hi,
I got a table where I have some images and links (IMG & A). They all have an
ID name. Is it possible to access them from a function through a variable?
If my link looks like:
<A ID="link1" href="#"></A>
then in my function I would like something like:
func1( ) {
$link=link1;
$link.href="www.x.com";
}
Is this somehow possible?
Regards,
Morten