jQuery Bind()
Simple use of the jQuery Bind() function
by jqueryhowto
HTML
<div id="container">
<a href="#">Go to XYZ</a>
<a href="#">Go to ABC</a>
<a href="#">Go to MNC</a>
<a href="#">Go to TUV</a>
</div>
CSS
#container a
{
display:block;
}
JavaScript
$("#container a").live("click", function () {
console.log("clicked");
$(this).clone().appendTo("#container");
});