is it possible to disable all the tab on same page on button click using jquery?
<p>how to disable tabs on button click using button id in jquery?
     In following PHP page there are four tabs declared in li tag which i creatd using bootstarp.</p>

<pre><code>&lt;form class="form span11"&gt;
    &lt;div class="tabbable" id="tab"&gt;
        &lt;div class=""&gt;
            &lt;ul class="nav nav-tabs"&gt;
                &lt;li class="active"&gt;&lt;a href="#comments" data-toggle="tab"&gt;Comments&lt;/a&gt;&lt;/li&gt;
                &lt;li class=""&gt;&lt;a href="#" data-toggle="tab"&gt;Activities&lt;/a&gt;&lt;/li&gt;
                &lt;li class=""&gt;&lt;a href="#locations" data-toggle="tab"&gt;Locations&lt;/a&gt;&lt;/li&gt;
                &lt;li class=""&gt;&lt;a href="#pohistory" data-toggle="tab"&gt;PO History&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
        &lt;div class="tab-content"&gt;
            &lt;div class="tab-pane active" id="comments"&gt;
                &lt;?php include "views/projects/comments.php"; ?&gt;
            &lt;/div&gt;
            &lt;div class="tab-pane " id="locations"&gt;
                &lt;?php include "partners_locations.php"; ?&gt;
            &lt;/div&gt;
            &lt;div class="tab-pane " id="pohistory"&gt;
                &lt;?php include "pohistory.php"; ?&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;button id="set" type="button"&gt;submit&lt;/button&gt;
&lt;/form&gt;
</code></pre>
