Jquery JavaScript DHTML


  
    
    
        $(document).ready(function(){
                
            function aClick() {
              alert("action");
            }
            $("#bind").click(function () {
              $("#myButton").click(aClick).text("Binded");
            });
            $("#unbind").click(function () {
              $("#myButton").unbind('click', aClick).text("Not Binded");
            });
        });
    
  
  
    
          Not Binded
          Bind Click
          Unbind Click