Why does the first two codes work but the last doesn't? there the same....
- Code:
$(function() {
if($('a[href="/u1"] span strong')){
$('a[href="/u1"] span strong').after('<img src="http://forums.d2jsp.org/images/s55.png" border="0" />');
}
});
$(function() {
if($('a[href="/u3"] span strong')){
$('a[href="/u3"] span strong').after('<img src="http://www.d3jsp.org/images/stars/92.gif" border="0" />');
}
});
$(function() {
if($('a[href="/u8"] span strong')){
$('a[href="/u8"] span strong').after('<img src="http://cdn2.iconfinder.com/data/icons/ledicons/crown.png" border="0" />');
}
});