I have the following HTML that creates a radio button group using Bootstrap.
Here is my solution: http://jsfiddle.net/tFYV9/1/
EDIT (Code from jsFiddle)
HTML
JavaScript
// Bootstrap Hack
var _old_toggle = $.fn.button.prototype.constructor.Constructor.prototype.toggle;
$.fn.button.prototype.constructor.Constructor.prototype.toggle = function(){
_old_toggle.apply(this);
var $parent = this.$element.parent('[data-toggle="buttons-radio"]')
var target = $parent ? $parent.data('target') : undefined;
var value = this.$element.attr('value');
if(target && value){
$('#'+target).val(value);
}
}