I have 2 buttons like this :
$body .= '<a href="#" onclick="check();" id="check">Check </i></a>';
$body .= '<a  href="#" onclick="continue();" id="cont">Continue </a>';
I want that the Continue button is disable if the user don't click on the Check button.
I have this :
    $('#cont').click(function(){return false; });
$('#check').click(function() {
    $('#cont').unbind('click');
});
But when I click on the Continue button (before click on the check) The href don't work it's good but the onclick work ! How I can disable the onclick with the href. Thank you
 
     
     
     
    