title: How to enable /disable buttons in jquery?
body: <p>My code looks like,</p>
  
  <pre><code>$("#OperationTypeId").change(function () {
  var DropdownSelectionValue = $("#OperationTypeId :selected").val();
      alert(DropdownSelectionValue );
      if (DropdownSelectionValue == 3)
          {
              $("#Button1Id").attr('disabled');
              $(" Button2Id").attr('enable');;
              //$("#Button1Id").hide();
          }
          else {
              $("#Button1Id").attr('enable');
              $(" Button2Id").attr('disabled');;
          }
  });
  </code></pre>
  
  <p>My code shows alert value correctly but not make the buttons enable/disable with condition of DropdownSelectionValue. As iam the beginner i dont know how to  do this. Kindly tell me.</p>