 <p>Process isOK your window.confirm within the function of the button</p> <pre><code>$('#button1').click(function(){ if(window.confirm("Are you sure?")) alert('Your action here'); }); </code></pre> <p>The issue you're going to have is the click has already happened when you trigger your "Are You Sure" Calling preventDefault doesn't stop the execution of the original click if it's the one that launched your original window.confirm. </p> <p>Bit of a chicken/egg problem.</p> <p>Edit: after reading your edited question:</p> <pre><code> var myClick = null; //get a list of jQuery handlers bound to the click event var jQueryHandlers = $('#button1').data('events').click; //grab the first jquery function bound to this event $.each(jQueryHandlers,function(i,f) { myClick = f.handler; return false; }); //unbind the original $('#button1').unbind('click'); //bind the modified one $('#button1').click(function(){ if(window.confirm("Are You Sure?")){ myClick(); } else { return false; } }); </code></pre>