twitter bootstrap - How to make groups of radio buttons act like one group? -
i'm using bootstrap button groups , need make 2 groups of buttons because each group of them closely relate single topic. want both groups of buttons act in same group. how can that?
<div class="btn-toolbar"> <div class="btn-group" data-toggle="buttons-radio"> <button class=btn>a</button> <button class=btn>b</button> <button class=btn>c</button> </div> <div class="btn-group" data-toggle="buttons-radio"> <button class=btn>d</button> <button class=btn>e</button> <button class=btn>f</button> </div> </div>
i have these, want allow user select either a, b, c, d, e or f.
i have no idea why works...
<div class="btn-toolbar" data-toggle="buttons-radio"> <div class="btn-group"> <button class=btn>a</button> <button class=btn>b</button> <button class=btn>c</button> </div> <div class="btn-group"> <button class=btn>d</button> <button class=btn>e</button> <button class=btn>f</button> </div> </div>
Comments
Post a Comment