I apply:
$(\".newContentLink\").click(function() { $(\"#test\").append(\"1\"); });
On this:
or you can unbind the click event each time you add a new element
$('.newContentLink').unbind('click'); $(".newContentLink").click(function() { $("#test").append("1"); });