如何在jQuery Mobile内部插入按钮可折叠
答
是的,但是可折叠头已被公认为一个按钮。所以你会在按钮中有一个按钮!?!
<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>
的位置应该在CSS调整
你的意思是一个使可折叠的崩溃和uncollapse?因为如果是这种情况,我需要两个按钮,一个折叠按钮,另一个用于另一个功能。 – VaTo
是的,上面的例子在按钮中包含一个按钮 – Goltar