Can't change src in image with jquery
<p>I can't change the image with jquery: whats going on??</p>

<pre><code>&lt;!DOCTYPE HTML&gt;
&lt;HTML&gt;

&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script text="text/javascript"&gt;
$('#caccia').attr('src', '2.png');
&lt;/script&gt;

&lt;img id="caccia" src="1.jpg" /&gt;

&lt;/HTML&gt;
</code></pre>
