Selected does not work with boot tab

Sorry for my bad english.

I am using selective loading of selected width ( ). But there is a problem.

By default, the KFC tab is active when I click the POST tab:

I am using Chosen v1.1.0 and bootstrap 3.

I tried

$('#a[data-toggle="tab"]').on('', function () {
  $('.chosen-select', this).chosen();


but failed.

Thanks for reading


source to share

1 answer

Add CSS to apply width

.chosen-container { width: 100% !important; }




All Articles