javascript check image src
snippet in javascript

javascript check image src

user1424

if (img.getAttribute('src') === 'on.png')