How to refresh the src of <img /> with jQuery?
<pre><code>&lt;img src="test.php" /&gt;
</code></pre>

<p>where test.php generates an image with a random number.</p>

<p>Itried :</p>

<pre><code>$('#verifyimage').click(function() {
        $(this).attr('src',$(this).attr('src'));
    });
</code></pre>

<p>But it doesn't work.</p>
