Sorry if this rehashes some of the previous. I just gave this problem as homework to my web class.
1. If you declare an id for the image in the html, you can get the location of it anytime later via that id.
<img src="whatever" id="my_name">
2. In a script in that window...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.