You can do both, a variety of ways...
example:
ONCLICK="myImg.SRC = 'blah.asp'"
Where blah.asp updates the database and then binary writes the image (with
appropriate headers)...
...or if you want, you could preload the image and load blah.asp in a hidden
frame or iframe
...or you could investiage Remote Scripting.
And I'm sure a creative mind could come up with many other ways...
Quote:
> With the onclick event can I change an image and for example access the
> code to update a database???
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!