What do you see?
function swapImage(){ var img = $('lion'); img.attr('src', 'monkey.png'); } swapImage();