i don't know if it's the correct way, but i posted here a working example yesterday: http://groups.google.com/group/twitter-bootstrap/browse_thread/thread/1bafc64791ec7c7f
On febr. 9, 06:55, Jeff Deville <[email protected]> wrote: > I've got a few things I'm confused about regarding button-groups. When > used w/in a form, the buttons in my button group toggle, but also > immediately submit the form. Catching the click, and canceling it prevents > the toggle from working. What am I doing wrong here? > > Also, how do I tie the buttons to actual form elements, or in some other > way record the value indicated by the user's selection? Is the idea there > to add click events and store the data using JS, or is there a simpler way? > > Thanks!
