how do i create a java code which switches between 2 pictures through 1 button.. i need to create 1 button to switch between 2 images.. pleaseeee helppp i have a deadline in half an hour
"Your mission is, given an HTML page with one of those images on and a button, write the Javascript code to toggle the images - so if you click the button and the image shown is of the box open, it'll switch to the box closed. If you click the button when the image shown is of the box closed, it'll switch to the box open."
http://fetlar.kingston.ac.uk/pp/jackbox-open.jpg
Available at the URL http://fetlar.kingston.ac.uk/pp/jackbox-closed.jpg