[jQuery] Using .load and updating the DOM

[jQuery] Using .load and updating the DOM


Hi - I'm using .load to update a panel on a page when a user clicks to
add an item to a list.
The panel reloads ok, but next to the item in the list is a link to
remove it - this is an <a> tag with a class; I have a function
listening out for clicks on links with this class, but this doesn't
work for links that are loaded into the updated panel _after_ the page
has been loaded.
The list is up-to-date, but the remove links are redundant.
Is there a way to update the dom so that it 'knows' these links exist
and have the corresponding class to fire the remove function?
Have I made any sense at all? :) Anyone that can offer some advice, it
will be greatly appreciated!