So I wrote a function that shows and hide images when you click on a certain checkbox. The checkboxes are stars and they represent hotel star ratings. When you check a different box the previous box is still checked, and when you uncheck it the image for that checkbox appears.
How can I prevent images from showing when you unclick a checkbox?
I put the star rating checkbox under <!-- Star Ratings -->
and the hotels under <!-- Hotel Body -->
Aucun commentaire:
Enregistrer un commentaire