How can I change the src attribute of an img tag using javascript?
src
img
if you use the JQuery library use this instruction:
$("#imageID").attr('src', 'srcImage.jpg');