How to change the src attribute of a HTMLImageElement in JavaScript?
src
HTMLImageElement
I need help to convert logo.attr(\'src\',\'img/rm2.png\')
logo.attr(\'src\',\'img/rm2.png\')
I think it's just logo.src = "img/rm2.png".
logo.src = "img/rm2.png"