Reputation: 3078
Is it possible to insert a button inside of a jquery collapsible?
This is what I'm trying to accomplish, Im not sure if is possible and I haven't found much information about this:
Upvotes: 1
Views: 79
Reputation: 26
Yes but the collapsible header is already considered as a button. So you will have a button within a button !?!
<div data-role="collapsible">
<h4>Heading <button href='#' id='bt01' style="width:100px;">Click</button></h4>
<p>I'm the collapsible content. By default I'm closed, but you can click the header to open me.</p>
</div>
the position should be adjusted in CSS
Upvotes: 1