[jQuery] Bound function on appended image

[jQuery] Bound function on appended image


I have a function bound to an image class. If I insert another copy of the
image (with the same class), the bound function doesn't work on it. Very
simple example here:
http://www.mm-webs.com/sandbox/test.html
The alert sign produces an alert box. The green plus sign inserts another
set of images.
Is there a way of writing the functions so they work on items that are
appended to the page by jQuery? Another approach perhaps?
Thanks
Gareth