Page 1 of 1

Replacing checkboxes with images

Posted: Mon May 31, 2010 5:43 am
by njubara
Hello!

I have a simple database with actors and movies. 3 actors, 15 movies. For each actor and for each movie there is a checkbox which if checked means that the actor was in that movie. The data is arranged in a html table which looks like this:

Image

I would like to click on the button OK corresponding to each movie and if the checkbox was checked replace it with an image (say a green checkmark when checked or a red cross when not checked).

How do I do this? Please help :(