I want to replace the contents of the <div class="clicksAllTime">
but I cannot get it to work. The HTML below is part of a table. Each row has a different ID whch is a specific shortened url that im doing an ajax call on...
HTML:
<tr id="http://goo.gl/zxCR" class="shortenedUrl odd">
<td class="center">
<div class="clicksAllTime">
<img src="../images/loading-gif-small.gif">
</div>
</td>
</tr>
JQUERY:
$('#http://goo.gl/zxCR.clicksAllTime').empty().append('<p>' + response[0].analytics.allTime.shortUrlClicks + '</p>');