I\'m using Bootstrap\'s JavaScript buttons to style some radio buttons, and I don\'t seem to be able to set an initial button as checked.
Here is my code:
If you want the Bootstrap button() component to recognize the checked inputs initially you need to add some jQuery like..
button()
checked
$('[checked="checked"]').parent().addClass("active");
This will set the active state to the appropriate buttons/labels in the group.