I'm trying to prevent any mouse clicks on my page (if only for a short time), and I have this working on a very simple test page, but within my application (that has a very large DOM footprint) nothing is working.
function noop(){ return false; } jQuery( document ).bind( 'click mousedown mouseup', noop ); I am running this code well after the DOM is loaded. I've tried binding to document, document.body, "*", and window. I am not dealing with any frames. I've also tried unbinding any click/mousedown events prior to binding. I am currently using jQuery 1.2.6, although for fitness I tested this with 1.3.2 but I get the same results. What could I be doing wrong?