Works fine for me, take a look at this: bootstrap tooltip on tag
unable to add bootstrap tooltip on <select> tag
-
21-07-2023 - |
문제
i want to add a bootom-tooltip on my select box but unable to do so.its showing nothing on hover.
Here is my code for select box:
<select class="navbar-search pull-left span1" name="currency" id="select-currency" data-original-title="Tooltip on bottom" data-toggle="tooltip" data-placement="bottom">
<?php foreach ($this->getCurrencies() as $_code => $_name): ?>
<option value="<?php echo $this->getSwitchCurrencyUrl($_code) ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
<?php echo $_code ?>
</option>
<?php endforeach; ?>
</select>
Here is my tooltip jquery:
<script>
jQuery(function(){
$("[data-toggle=tooltip]").tooltip();
});
</script>
해결책
제휴하지 않습니다 StackOverflow