Tagged: tooltip html5

Simple jquery Tooltip toggle Example 0

Simple jquery Tooltip toggle Example

Simple jquery Tooltip toggle Example

In this Post We Will Explain About is Simple jquery Tooltip toggle Example With Example and Demo.Welcome on Pakainfo.com – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to Bootstrap setting for tooltip and popover Example

In this post we will show you Best way to implement Bootstrap change tooltip content on click, hear for jquery – Change Twitter Bootstrap Tooltip content on click with Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.

Bootstrap change tooltip content on click

In this Example,First of all Add or Include External Libs Like as a(jQuery, css etc..), and then create a simple index.php or index.html page.After that crate a simple javascript file like as a index.js or main.js, It is also add your web-application First Header Part to some priority set.After that Include your relevant CSS Class.

Include External Libs

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<!-- Pakainfo.com free Download -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Simple jquery Tooltip toggle Example-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>

index.html

<!-- Devloped by Pakainfo.com free download examples -->
<body>
<div class="container" style="padding:90px;">
<h1></h1>

<!-- Devloped by Pakainfo.com free download examples -->
<ul class="list-inline">
  <li><a href="#" data-toggle="tooltip" data-original-title="Wel-come to Pakainfo.com free Download">jquery Click To Change Tooltip</a></li>
</ul>

</div>
<!-- Devloped by Pakainfo.com free download examples -->
</body>

index.js

$(document).ready(function(){
    $('[data-toggle="tooltip"]').tooltip({
        placement : 'top'
    });
     $('[data-toggle="tooltip"]').click(function(){
        $(this).tooltip('hide').attr('data-original-title', 'Welcome to Pakainfo.com').tooltip('show');
    });
    
});

style.css

.myTooltip .tooltip > .tooltip-inner{
 background:blue;
color:#3d3d3d;
}

You are Most welcome in my youtube Channel Please subscribe my channel. and give me FeedBack.
More Details……
Angularjs Example

Example

I hope you have Got What is jquery – Change Twitter Bootstrap Tooltip content on click And how it works.I would Like to have FeedBack From My Blog(Pakainfo.com) readers.Your Valuable FeedBack,Any Question,or any Comments about This Article(Pakainfo.com) Are Most Always Welcome.