N
ningjun.wang
Hello:
My html file contains the following image link:
<a href="some_url"><img src="MyImage.gif"></a>
How can I use Javascript to find out the value of some_url for the
given image name "MyImage.gif"?
I know how to get the image object with a given name (e.g.
"MyImage.gif"). But then how do I get the parent anchor link object and
find its href value?
My html file contains the following image link:
<a href="some_url"><img src="MyImage.gif"></a>
How can I use Javascript to find out the value of some_url for the
given image name "MyImage.gif"?
I know how to get the image object with a given name (e.g.
"MyImage.gif"). But then how do I get the parent anchor link object and
find its href value?