jquery - bootstrap tooltip is not working in IE -
this question has answer here:
- bootstrap tooltips not working 22 answers
i using bootstrap in ie not working
here html page
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>twitter bootstrap popover example</title> <meta name="description" content="this example create popover twitter bootstrap."> <link href="/twitter-bootstrap/twitter-bootstrap-v2/docs/assets/css/bootstrap.css" rel="stylesheet"> </head> <body> <div class="container"> <h2>example of creating popover twitter bootstrap</h2> <div class="well"> <a href="#" id="example" class="btn btn-success" rel="popover" data-content="it's simple create tooltop website!" data-original-title="twitter bootstrap popover">hover popover</a> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"> </script> <script src="/twitter-bootstrap/twitter-bootstrap-v2/js/bootstrap-tooltip.js"></script> <script src="/twitter-bootstrap/twitter-bootstrap-v2/js/bootstrap-popover.js"></script> <script> $(document).ready(function () { $("#example").tooltip({ 'selector': '', 'placement': 'bottom' }); console.log("jimmy"); }); </script> </body> </html>
run in version of ie error in console.
object doesn't support property or method 'tooltip'
the http links twitter bootstrap seem removed. it's not working anymore, (it used work time in history) because twitter removed bootstrap http links. should try jquery tooltip instead.
http://twitter.github.com/bootstrap/assets/js/bootstrap-tooltip.js
Comments
Post a Comment