Как отключить событие OnClick в JavaScript
$("#id").on('click', function(){ //enables click event
//do your thing here
});
$("#id").off('click'); //disables click event
// If you want to disable a div, use the following code:
$("#id").attr('disabled','disabled');
Doge Amazedo