i have such div:
<div id="file.jpg">
<img src="http://localhost/joomla15/uploads/banners/file.jpg?1300447751">
<img title="Trinti" class="deleteAd" data-filename="file.jpg" src="http://localhost/joomla15/components/com_banerioikelimas/images/delete.png">
<a class="pratestiDienai">Pratesti galiojima dienai</a><br><br>
<p class="validUntil">Galioja iki:2011-04-02 20:40:09</p>
<p>Paspausta:1</p><br>
</div>
now I want to change its html content with such code:
$('#file1.jpg').html('test');
and it doesn't change. Probably because he thinks that .jpg is a class. How to make him think that it is not a class but just id is file1.jpg?