title: How to set `aria-disabled` as true using JavaScript
body: <p>I have no idea about JS. But there is needed one line of code in my Ruby. I have the below <code>html</code>.</p>
  
  <pre><code>&lt;div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"&gt;
     &lt;div class="ui-dialog-buttonset"&gt;
        &lt;button class="otherButtonClass ui-state-hover ui-state-focus" type="button" role="button" aria-disabled="false"&gt;
        &lt;button class="otherButtonClass" type="button" role="button" aria-disabled="false" style="display: none;"&gt;
        &lt;button class="cancelButtonClass" type="button" role="button" aria-disabled="false"&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want JS code to make the first and second button to make them visible. What would be the code?</p>
  
  <p>Please help.</p>