Then just open the HTML file with associated viewer. You could specify an id to the and use document.getElementById("some_id") instead. In case you are not familiar with document.getElementsByTagName(), the argument should be tag name and the is an index (0 being the first element of that type, 1 being the second, etc). Then use the JavaScript document.getElementsByTagName("img").currentSrc to reference the full URL of the image.
0 Comments
Leave a Reply. |