I want to bind click function on the anchor tab with select class. I did it with the below code. It is working fine when I click for the first time but after that when I click on the anchor again the attached event doesn't initiated. I don't know what is wrong.
This is my jquery code to attach click event to anchor tab . 

```
$('a.select').click(function () {
    var data = subtitle_json;
    data = data[$(this).attr('aria-controls')][0];
    $('p#subtitle-saved-ad > span:nth-child(1)').html(data.ad_count + " " + data.ad_text);
});

```

this is my html Dom.

```
<ul class="nav nav-tabs" id="tabs-collapsed" role="tablist">
    <li role="presentation" class=""> <a href="#71" aria-controls="71" role="tab" data-toggle="tab" class="select">
                Cars            </a>

    </li>
    <li role="presentation"> <a href="#260" aria-controls="260" role="tab" data-toggle="tab" class="select">
                Bicycles            </a>

    </li>
    <li id="lastTab" class="" style="display: block;"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
              More <span class="caret"></span>
            </a>

        <ul class="dropdown-menu" id="collapsed">
            <li role="presentation"> <a href="#72" aria-controls="72" role="tab" data-toggle="tab" class="select">
                Bikes &amp; Scooters            </a>

            </li>
        </ul>
    </li>
</ul>

```