jquery - Bootstrap tabs don't work with Firebug -


Here's a small jQuery test program using the Bootstrap 2.0 tab. The strange thing is that if you run it in Firefox, then it works as expected, even if you turn on Firebug, the tab stops working! Is there any event handling which I am missing? As you can imagine, this is debugging my project by making it very challenging!

(If you want to run it - copy the file to your web root and modify the path to jQuery and Bootstrap files - this is an example I found on JSFiddle. Then, the HTML file in Firefox Use.)

tab-test.html

   

There is no need to explicitly call Javascript to bootstrap by default Works with it without JavaScript code for me.

  & lt; Script type = "text / javascript" & gt; $ (Document) .ready (function () {$ ("# myTab a"). Click (function (e) {e.preventDefault (); $ (this) .tab ('show');})}} ; & Lt; / script & gt;  

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -