Hello list!
Apologies if this is a recurrent request!
I would like to append an image after an <a href...., so far I have my
html:
<a href="#" name="foo" target="_blank" class="openInNewWindow">open in
new window</a>
and my first attempt at jQuery:
$('.openInNewWindow').after('<img src="images/newWindow.gif" /
>').attr('target','_blank');
....to obtain the following:
<a href="#" name="foo" target="_blank" class="openInNewWindow">open in
new window</a><img src="images/newWindow.gif" />
....but nothing happens!!!
Am I pointing in the right direction?
Any advice would be greatly appreciated
Thanks
AMWJ