click function delegation code example
Example: delegate jquery
$(document).delegate("#myLabel", "click", function() {
$(this).alert("myLabel click");
});
$(document).delegate("#myLabel", "click", function() {
$(this).alert("myLabel click");
});