get the src of an image using javascript code example
Example 1: how to change image source using javascript
document.getElementById("myImg").src = "hackanm.gif";
Example 2: js get image src
var youtubeimgsrc = document.getElementById("youtubeimg").src;