Trigger Click Event from Bootstrap Modal Dialog Box
<p>I'm trying to determine how to trigger an event when the Remove button in the below code is clicked.</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div aria-labelledby="myModalLabel" class="modal fade" id="removeUser"
    role="dialog" tabindex="-1"&gt;
        &lt;div class="modal-dialog" role="document"&gt;
            &lt;div class="modal-content"&gt;
                &lt;div class="modal-body" id="window-border"&gt;
                    &lt;div class="warning-text"&gt;
                        &lt;h2&gt;Remove User&lt;/h2&gt;
                        &lt;p&gt;Are you sure you wish to remove this user?&lt;/p&gt;
                    &lt;/div&gt;
                    &lt;div class="terminate"&gt;
                        &lt;button class="btn btn-default close" data-dismiss=
                        "modal" type="button"&gt;Cancel&lt;/button&gt; 
                        &lt;button class=
                        "btn btn-default" id="confirm" type=
                        "submit"&gt;Remove&lt;/button&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;&lt;!-- end modal content --&gt;
        &lt;/div&gt;
    &lt;/div&gt;</code></pre>
</div>
</div>
</p>