Re: IMG functions

From: Date: Fri, 03 May 2002 20:40:14 +0000
Subject: Re: IMG functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95971@lists.php.net to get a copy of this message
On Fri, 3 May 2002, Morten Nielsen wrote: > I got an IMG object on my page. It looks like: > > <IMG id="image1" src="picture.bmp" onclick='select()'> > > Is it somehow possible to specify a variable to be set when the user clicks > the image? So 2 things are being done? Then it would looks something like: > > <IMG id="image1" src="picture.bmp" onclick='select() & > $var=1'> > > Is this somehow possible? Not sure, but I bet you'd have a whole lot better luck in a JavaScript list/newsgroup. miguel

« previous php.general (#95971) next »