how to remove event bind on an id on click code example
Example 1: jquery clear click event
$( "#foo" ).unbind("click");
Example 2: jquery remove keypress event
$('#foo').unbind("keypress");
$( "#foo" ).unbind("click");
$('#foo').unbind("keypress");