Seems I have a problem using jQuery when I try to select an element included in a div with a bootstrap class.
The code is this:
    <div class="sec">
  <div class="dropdown">
        <h4>Management</h4><hr>
        <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
            Staff <span class="caret"></span>
        </button>
        <ul class="dropdown-menu">
            <li><a href="#" data-intrf="dir-01-01" >List</a></li>
            <li><a href="#" data-intrf="dir-01-02">Register</a></li>
            <li><a href="#" data-intrf="dir-01-03">Categories</a></li>
            <li class="divider"></li>
            <li><a href="#" data-intrf="dir-01-04">Messages</a></li>
        </ul>
</div></div>
jQuery code is:
$('#secInterf').on("click", 'a[data-intrf]', function(){
        alert('What Ever');
});
The html code (div with class="sec") is placed as dynamic content within a div (with id="secInterf") in the main page. The problem is that it seems that jQuery can no recognize the anchor with attribute data-intrf.
I had no problem with other dynamic content placed in the same div (#secInterf); so, I don't know if it's some kind of conflict between jQuery and Bootstrap or if I'm using a wrong selector to get the anchor with attribute data-intrf.
Thanks in advance.