jQuery(document).ready(function(){ jQuery("#mainContainer").dblclick(function(){ return false; }); });