Reputation: 11826
I'm trying to use Bootstrap buttons as radio buttons as described here, under Radio. The problem is when trying to add the checked
property to one of the inputs so that it comes as the default selection when the user first sees the page. I'm trying to do this like so:
<input type="radio" name="options" id="option2" checked>
Unfortunately, the button doesn't come up with the "active" state by default. As can be seen in this jsFiddle.
What am I doing wrong?
Upvotes: 0
Views: 546