Bootstrap Tooltip intialization

Bootstrap Tooltip intialization

Some times ajax loading is required for refresh content of a page. That time bootstarp tooltip is not work smoothly. That time we need to re-initialize the bootstrap tootip js using following code. After that tooltip will work like normal.

<a href=”javascript:void(0);” rel=”smarttooltip” data-original-title=” Total hits of posts over last month “><?php echo $this->influences; ?></a>

<script type=”text/javascript”>
jQuery(function () {
    jQuery(“[rel=’smarttooltip’]”).tooltip({placement: ‘bottom’});



Leave a Reply