I need some simple JQuery code so I can change the src value of a specific img.
It\'s currently:
<
You could use the .attr() function to set attributes on given DOM element:
$(function() { $('#myImage').attr('src', 'image2.gif'); });