jQuery: same filename, wont load issue
<p>in html i got this:</p>

<pre><code>&lt;div id="userPhoto"&gt;
&lt;a href="profil.php?id=&lt;?php echo $sid; ?&gt;"&gt;
            &lt;img src="images/profilePhoto/thumbs/&lt;?php if($vP["photo"]){ echo $vP["photo_thumb"]; }else{ echo "noPhoto_thumb.jpg"; } ?&gt;"  style="float: left; border: 2px solid #CCC; margin-right: 5px; margin-left: 15px;  margin-bottom: 2px; width: 44px; height: 48px;"&gt;
&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>on my ajax success i have this:</p>

<pre><code>$('#userPhoto').find('img').attr('src', ['/your/path/', newFilename].join(''));
</code></pre>

<p>Now my case is that all users only have 1 image, called userid.jpg. (e.g 1.jpg)</p>

<p>Now i wish to load it/refresh the image, after you inserted a new profileimage (on success), but it doesnt load because the line above, newFilename var contains the same imagename as before. (e.g 1.jpg)</p>

<p>How can i fix this, so it load/refreshes new even if its the same name?</p>
