$("#id").off().on("click",function(){ //do something });
$("#anchor").attr('onclick', '').click(newclick);