how to remove click event in jquery code example
Example 1: jquery remove keypress event
$('#foo').unbind("keypress");
Example 2: remove add event listener jquery
//Remove all event handlers from all paragraphs:
$( "p" ).off();
//Remove all delegated click handlers from all paragraphs:
$( "p" ).off( "click", "**" );
Example 3: remove a function added to eventhandler
element.removeEventListener(type, handler);