Replace different text with different image
I try to replace different text with different image and want to add the code in to the template.
I tried this
<script type="text/javascript">
jQuery(document).ready(function() {
$(function(){
$('itemExtraFields a:contains("Australia)').html('<img src="aussieflag.jpg"/>')
});
</script>
seems not to work. Any help would be great