<p dir="auto">Currently, the 'remote' option allows only to load the body of the modal.<br>
it would be useful to be able to load both the title, content and footer of the modal.<br>
a proposal: simply return a JSON object {header: ... body: ... footer ...} in place of html to supply each part of the modal.<br>
If HTML is returned, then continue as now, and if it's JSON, retrieve footer, header and body.<br>
thx.<br>
Jef</p>
<p dir="auto">Hi,</p>
<p dir="auto">I'm using Navigation Pills as submenu in order to provide a inner navigation for each section of my Application.</p>
<p dir="auto">I'm also spliting long forms in "fake tabs", fading them accordingly to selected option in the Pill. Here is a <a href="http://jsfiddle.net/dRhxa/" rel="nofollow">simple demonstration</a> of what I'm doing.</p>
<p dir="auto">Perfect! Then I tried to change the style to <a href="http://twitter.github.com/bootstrap/components.html#buttonDropdowns">Buttons with Dropdowns</a>.</p>
<p dir="auto">I could not use the same markup described in documentation (button tag) due some particularities in my Application (an inactive dropdown should act as link instead a menu) so I used my old markup (lists) with documentation styles.</p>
<p dir="auto">After a few tries I came to <a href="http://jsfiddle.net/qMVdG/" rel="nofollow">this</a></p>
<p dir="auto">Almost perfect! In this example, when choosing a different option, the <strong>active</strong> class is added to the newly selected element, but it's not being removed from previously selected element.</p>
<p dir="auto">By using the two or three of the available section of this tabbed form, opening the pill again, all the three items have the <strong>active</strong> class, which is not only wrong but ugly.</p>
<p dir="auto">How can I fix this for now, I mean, while not characterized as a bug (IF is a bug) and included in a future release?</p>