I have a div with class=\"tags\" with one predefined hyperlink.
class=\"tags\"
myLink
You have to use the live-function:
$(".tags a").live("click", function() { // ... });
Because you are adding the links after the initial load, the standard click event won't be binded to the dynamic added links.