How to open a Bootstrap modal window using jquery?
<p>I'm using Twitter's Bootstrap modal window functionality. When someone clicks submit on my form, I want to show the model window  on clicking the "submit button" in the form </p>

<pre><code> &lt;form id="myform" class="form-wizard"&gt;

      &lt;h2 class="form-wizard-heading"&gt;BootStap Wizzard Form&lt;/h2&gt;
&lt;input type="text" value=""&gt;
&lt;input type="submit"&gt;
 &lt;/form&gt;


&lt;!-- Modal --&gt;
&lt;div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
&lt;div class="modal-header"&gt;
&lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;×&lt;/button&gt;
&lt;h3 id="myModalLabel"&gt;Modal header&lt;/h3&gt;
&lt;/div&gt;
&lt;div class="modal-body"&gt;
&lt;p&gt;One fine body…&lt;/p&gt;
&lt;/div&gt;
&lt;div class="modal-footer"&gt;
&lt;button class="btn" data-dismiss="modal" aria-hidden="true"&gt;Close&lt;/button&gt;
&lt;button class="btn btn-primary"&gt;Save changes&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;



$('#myform').on('submit', function(ev) {
    $('#my-modal').modal({
        show: 'false'
    }); 


    var data = $(this).serializeObject();
    json_data = JSON.stringify(data);
     $("#results").text(json_data); 
     $(".modal-body").text(json_data); 

      // $("#results").text(data);

        ev.preventDefault();
    });
</code></pre>
