how to find img src in js code example
Example 1: javascript check image src
if (img.getAttribute('src') === 'on.png')
Example 2: js get image src
var youtubeimgsrc = document.getElementById("youtubeimg").src;
if (img.getAttribute('src') === 'on.png')
var youtubeimgsrc = document.getElementById("youtubeimg").src;