Solved

Disabling tabs in bootstrap

Posted on 2013-11-26
3
1,297 Views
Last Modified: 2013-11-29
In Twitter Bootstrap 3 how would you disable tabs??
0
Comment
Question by:stargateatlantis
3 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39681229
Hi,
can you provide a link to your page or a screenshot?
What do you mean with "disable tabs"?

Normally tabs are generated by assigning the right style sheet classes to an UL.
0
 

Author Comment

by:stargateatlantis
ID: 39681537
Here is the twitter boostrap 3 tabs

http://getbootstrap.com/javascript/#tabs
0
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 500 total points
ID: 39684551
Hi,

You can try the following code snippet -

$('#myTab a').removeAttr("data-toggle");

Open in new window


Just remove the data-toogle attribute on the anchor tags inside the tabs!

Hope it helps u...
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Change color of pagination for twbs-pagination 3 24
Question about JQuery and asp.net 3 25
jQuery for Each 12 18
Call Controller Action Method from ASPX 2 14
Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question