qtip2 要素内にブートストラップ select 要素を表示しようとしています。
select 要素が qtip 要素の後ろに隠れており、z-index を調整しても何も起こらないようです
html
<span class="selector">qtip</span>
js
$(document).ready(function () {
$('.selector').qtip({
content: {
text: 'some text here <br>' +
'<select class="selectpicker">' +
'<option>Mustard</option>' +
'<option>Ketchup</option>' +
'<option>Barbecue</option>' +
'</select>' +
'<br>some more text here'
},
style: {
classes: 'qtip-bootstrap'
},
show: 'click',
hide: 'click',
events: {
show: function() { $('.selectpicker').selectpicker({container: 'body'}); }, // either one of these seems to work
render: function() { $('.selectpicker').selectpicker({container: 'body'}); }, // either one of these seems to work
},
});
});