title: Customize bootbox prompt
body: <p>I want to customize <code>bootbox prompt</code> input box. I want add <code>clsss</code> attribute in <code>input</code> element.</p>
  
  <p>I try this code </p>
  
  <pre><code>bootbox.prompt({
      title: 'Enter Mobile Number',
      placeholder: '8801XXXXXXXXX',
      buttons: {
          confirm: {
              label: 'Submit'
          }
      },
      callback: function(value) {
          console.log(value);
      })
  });
  </code></pre>
  
  <p>I want to something like that</p>
  
  <pre><code>bootbox.prompt({
      title: 'Enter Mobile Number',
      placeholder: '8801XXXXXXXXX',
      class: 'only-number',
      buttons: {
          confirm: {
              label: 'Submit'
          }
      },
      callback: function(value) {
          console.log(value);
      })
  });
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>As per <strong>Guruprasad Rao</strong> answer I update my code. But class attribute add in <code>div</code> element not in <code>input</code> element.</p>
  
  <pre><code>bootbox.prompt({
      title: 'Enter Mobile Number',
      placeholder: '8801XXXXXXXXX',
      className: 'only-number',
      buttons: {
          confirm: {
              label: 'Submit'
          }
      },
      callback: function(value) {
          console.log(value);
      })
  });
  </code></pre>
  
  <p>See my inspect element pic
  <img src="https://i.stack.imgur.com/0JVp0.png" alt="enter image description here"></p>