I apply:
$(\".newContentLink\").click(function() { $(\"#test\").append(\"1\"); });
On this:
To make sure the function only execute once on one click event you may use $(".newContentLink").one();
$(".newContentLink").one(function() { $("#test").append("1"); });