JavaScript RadioButton
Set the groupName property of the jqxRadioButton.
Author: http://jqwidgets.com
by Hristo Hristov
HTML
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxRadioButton'>Group Radio Button</div>
<div id='jqxRadioButton2'>Group Radio Button 2</div>
<br/>
<br/>
<input id='jqxRadioButton3' value="Other Group Radio Button" />
<input id='jqxRadioButton4' value="Other Group Radio Button 2" />
JavaScript
$("#jqxRadioButton").jqxRadioButton({
width: 120,
height: 25,
theme: 'energyblue',
groupName: "Group"
});
$("#jqxRadioButton2").jqxRadioButton({
width: 120,
height: 25,
theme: 'energyblue',
groupName: "Group"
});
$("#jqxRadioButton3").jqxRadioButton({
width: 120,
height: 25,
theme: 'energyblue',
groupName: "Group2"
});
$("#jqxRadioButton4").jqxRadioButton({
width: 120,
height: 25,
theme: 'energyblue',
groupName: "Group2",
value: "Other Group Radio Button"
})