title: How to change the background color of Button in javascript
body: <p>I have following code, I'm using to display my custom dialog box. But the the color of button is by default gray. How do I add background color and increase or decrease it's size or make it round in javascript.</p>
  
  <pre><code>document.getElementById('dialog-box-foot').innerHTML = '&lt;button onclick="Alert.ok()"&gt;OK&lt;/button&gt;';
  </code></pre>