title: How to disable two submit buttons when one of them is clicked
body: <p>I have two submit buttons in a cshtml file.</p>
  
  <pre><code>&lt;button type="submit" name="SubmitButton" value="accept" id="buttonAccept"&gt;Accept&lt;/button&gt;
  
  &lt;button type="submit" name="SubmitButton" value="refuse" id="buttonRefuse"Refuse&lt;/button&gt;
  </code></pre>
  
  <p>I am trying to disable these two buttons when either one of them is clicked.
  Is there a way to do so?</p>