{ type: '<span><input type="radio" name="RR" value="A"/>A <input type="radio" name="RR" value="B"/> B </span>', init: function( ele ){ $(ele).find('input').on('change', function(evt){ alert(evt.target.value); }); }},