Reset variable in javascrtp (jQuery)
- by superUntitled
I am trying to reset a variable (that updates the src value for an image) when an area of an image map is clicked, so that the hover function calls a different image when the user hovers over another area in the image map.
I have a variable called "state" that I set right off the bat. This is the variable that I want to reset when an area is…