I need help creating a javascript that will change the source for an image using the following
Code:<img id="wrench" src="spanners.jpg" alt=".." width=".." height= ".." /> document.getElementById("wrench").src= "monkey_wrench.jpg";
The java script would run when i click a button that is tied to a specific picture and display that photo by change the source information.
However I have tried a couple things but nothing seems to work... Can someone at least point me in the right direction.
CLICK-> GAMER IDs IT Admin & Project Manager --> CLICK-> LAPTOP ASUS TF300T DESKTOP->Microsoft Student Partner (MSP)IF THE TRUTH HURTS CLOSE THE THREAD
If being a nerd means I make more money than you by just walking into a room, while still having a wife and social life... then it SUCKS To Be YOU!