Selected does not work with boot tab
Sorry for my bad english.
I am using selective loading of selected width ( http://getbootstrap.com/javascript/#tabs ). But there is a problem.
By default, the KFC tab is active when I click the POST tab:
http://i.stack.imgur.com/iL1hi.png
I am using Chosen v1.1.0 and bootstrap 3.
I tried
$('#a[data-toggle="tab"]').on('shown.bs.tab', function () {
$('.chosen-select', this).chosen();
});
but failed.
Thanks for reading
+3
source to share