title: How do I specify multiple javascript modal parameters with Twitter Bootstrap?
body: <p>I have a modal created using Twitter Bootstrap. I want to open using javascript. Right now I have the following:</p>
  
  <pre><code>&lt;script type="text/javascript" id="js"&gt;$(document).ready(function() {
    $("#my-modal").modal('show')
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>However, I want to include the backdrop and keyboard attributes as well. Twitter's documentation show the options as:</p>
  
  <pre><code>$('#my-modal').modal({
    keyboard: true
  })
  
  $('#my-modal').modal({
    backdrop: true
  })
  </code></pre>
  
  <p>Using any combination of the three options does not work. I'm not very good with javascript so I don't know what's going on. I'm reading javascript tutorials right now to see where I went wrong, but so far no luck.</p>
  
  <p><a href="http://twitter.github.com/bootstrap/javascript.html#modal" rel="nofollow">Twitter Bootstrap's modal documentation</a></p>
  
  <p>Thanks.</p>