jquery - show a bootstrap-select element inside a qtip2 -
I am trying to show a bootstrap element inside a qtip2 element.
Hides the selected element does not appear to be behind the qtip element and to adjust the z-index
html
& lt ; Span class = "selector" & gt; Qtip & lt; / Span & gt; js
$ (document) .ready (function () {$ ('selector'). qtip ({content: {text: 'some Text here & lt; br> 'class = "selectpicker"> gt;' + '& lt; Option & gt; Saracard & lt; / option & gt;' + '& lt; Option & gt; Ketchup & lt; ; / Option & gt; '+' & lt; option & gt; Barbecue & lt; / option & gt; '+' & lt; / select & gt; '+' & lt; br & gt; Here's More Lessons '}, Style: {classes:' qtip-bootstrap '}, show:' click ', hide:' click selector ({container: 'body'})}}, // rendering one of these Seems to: function () {$ ('.selectpicker'). Selectpicker ({container: 'body'});}, either Does one work}});}) from; div>
.qtip-content {overflow: visible; }
Comments
Post a Comment