I have searched the forum for one particular issue, yet all the solutions I found do not work for my problem.
I have an image on the left hand side. On the right han
It all looks good for the second version, make sure you are wrapping your DOM calls in the document ready function, which can be written as...
$(document).ready(function() {
...
});
Or...
$(function() {
...
});
So you get...
$(function() {
$('#mtl').click(function(){
$('#picture').attr('src', 'images/short.png');
});
});