This seems to be already asked before:
This might help:
Twitter Bootstrap Use collapse.js on table cells [Almost Done]
UPDATE:
Your fiddle wasn’t loading jQuery, so anything worked.
<table class="table table-hover"> <thead> <tr> <th></th> <th></th> <th></th> </tr> </thead> <tbody> <tr data-toggle="collapse" data-target="#accordion" class="clickable"> <td>Some Stuff</td> <td>Some more stuff</td> <td>And some more</td> </tr> <tr> <td colspan="3"> <div id="accordion" class="collapse">Hidden by default</div> </td> </tr> </tbody> </table>
Try this one: http://jsfiddle.net/Nb7wy/2/
I also added colspan='2'
to the details row. But it’s essentially your fiddle with jQuery loaded (in frameworks in the left column)
Related Posts:
- Bootstrap Dropdown menu is not working
- How does the data-toggle attribute work? (What’s its API?)
- Failed to load resource: the server responded with a status of 404 (Not Found)
- Failed to load resource: the server responded with a status of 404 (Not Found)
- Can I use complex HTML with Twitter Bootstrap’s Tooltip?
- How can I scroll to an element using jQuery?
- What is the meaning of == $0 that is shown in inspect element of google chrome for the selected element [duplicate]
- What is sr-only in Bootstrap 3?
- Change Background color (css property) using Jquery
- Set timeout for ajax (jQuery)
- CSS height 100% percent not working
- Use images like checkboxes
- Adding images to a Bootstrap Carousel with AJAX
- Completely disable scrolling of webpage
- Bootstrap Dropdown menu is not working
- Bootstrap Dropdown menu is not working
- Understanding how data-dismiss attribute works in Bootstrap
- Uncaught TypeError: Cannot read property ‘top’ of undefined
- Full-screen iframe with a height of 100%
- How to print HTML content on click of a button, but not the page?
- Bootstrap 4 Dropdown Menu not working?
- TypeError: $(…).modal is not a function with bootstrap Modal
- Why is the jquery script not working?
- Textarea Auto height
- Bootstrap throws Uncaught Error: Bootstrap’s JavaScript requires jQuery
- Why is marquee deprecated and what is the best alternative?
- Refresh/reload the content in Div using jquery/ajax
- How to write inside a DIV box with javascript
- How to change the background-color of jumbrotron?
- How to get height of div in px dimension
- Crop the image using JavaScript
- vertical-align with Bootstrap 3
- Bootstrap popover is not working
- Force div to be topmost element of any and all webpages
- Retrieve the position (X,Y) of an HTML element
- How to display raw JSON data on a HTML page
- Bootstrap 3 Glyphicons CDN
- how to display a div triggered by onclick event
- Why is jquery show() not working in example
- jQuery scrollTop() method not working
- Change an image with onclick()
- JavaScript – Count Number of Visitor for Website
- Closing Bootstrap modal onclick
- Fully responsive HTML5 video
- How to create checkbox inside dropdown?
- How to make Bootstrap Panel body with fixed height
- Positioning element at center of screen
- Adding Google Translate to a web site
- Bootstrap Collapse not Collapsing
- Cannot read property ‘style’ of undefined — Uncaught Type Error
- How to make HTML element resizable using pure Javascript?
- How to use aria-expanded=”true” to change a css property
- How to set “style=display:none;” using jQuery’s attr method?
- WordPress Bootstrap Handburger Menu Wont Open
- Hide CSS class only in single post pages
- Do I just put the html in a page when enqueueng or do I also have to reference js file from the html page [closed]
- How to Add a Read-only Textbox With Text in it That Has a Button to Copy it?
- Make a script work within a page
- WP adds long version query strings to CSS and JS files
- Link to page with posts of specific type
- prevent HTML output if custom field is empty [closed]
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- How to create a WP theme that use BootStrap? [closed]
- Change class names dynamically added to html elements by wordpress
- creating a static HTML/JS/PHP page
- WordPress getting css and script files from client machine rather than the server machine
- how to let users upload their custom cover image
- Putting custom html/js page into Elementor as it’s own block
- Add Paypal button redirect to a specific page after completing
- Hide Tab Titles from Tabs Block
- Add other class content with reference class value
- Web cover page open when button clicked
- internal anchor links no longer working after upgrade
- How to run Javascript popup modal in a loop?
- Overriding inline !important CSS with Javscript code snippet with media query
- Landing Page with HTML CSS JS and Images on wordpress
- How to make wocommerce shop products same heigt
- Can’t Listen to KeyDown in TInyMCE Iframe (jQuery) and Pass it to Parent HTML FORM
- Unable to use Datepicker in a table when inserting a row
- WordPress Slider is not working
- Getting click on item to open closest relevant element (popup) with jQuery
- How to create a mobile menu full screen overlay using Understraps Bootstrap 4 theme
- jQuery for Fade Preload Causes My Site Favicon to Disappear from Tab of Browser
- Bootstrap News: Image Modifciation
- Target a specific container to style on WordPress storefront theme
- Bootstrap Carousel Indicators Won’t Cycle On Custom WordPress Theme
- Site images are fixed in front of my site content [closed]
- How would I add this code to a single WordPress page?
- How to delay display of page elements until enqueued script has injected html
- Trouble with adding preloader to my home page index.html and index.js
- Where to find the html for WordPress site? [closed]
- WP Media Uploader modal conflicts with Bootstrap modal
- how to do open a link in a open window from menu bar? [closed]
- Import HTML code that loads css and javascript into specific page
- Possible jquery / library conflict in plugin usage
- Why the slideshow is not shown in my theme?
- Trying to customize wordpress drop down categories
- change the icon of a custom post type in WordPress to use twitter boostrap
- Bootstrap 4 Optimization
- Element works, but not on wordpress site [duplicate]