I have a problem wherein when i post something under a tab, i goes back to the active tab when submit button is clicked. For example, i posted on tragedies tab, i goes back again to the weather tab which is my active tab. Heres my code

heres a part of the code

```
<ul class="nav nav-tabs" id="myTab">
    <li class="active"><a href="#weather" data-toggle="tab">Weather</a></li>
    <li class=""><a href="#traffic" data-toggle="tab">Traffic</a></li>
    <li class=""><a href="#accident" data-toggle="tab">Accident</a></li>
    <li class=""><a href="#politics" data-toggle="tab">Politics</a></li>
    <li class=""><a href="#tragedies" data-toggle="tab">Tragedies</a></li>
    <li class=""><a href="#warnings" data-toggle="tab">Warnings</a></li>

</ul>

```

full source code is in here: <http://pastebin.com/Mn9WJ9qj>

I searched some javascript to use but still it cant be help with my code.