<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
link
rel
=
"stylesheet"
href
=
"jqwidgets/styles/jqx.base.css"
type
=
"text/css"
/>
<
script
type
=
"text/javascript"
src
=
"scripts/jquery-1.11.1.min.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxcore.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqx-all.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxradiobutton.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxradiobuttongroup.js"
></
script
>
</
head
>
<
body
>
<
h1
style
=
"color: green;"
>
GeeksforGeeks
</
h1
>
<
h3
>
jQWidgets jqxRadioButtonGroup disable() Method
</
h3
>
<
div
id
=
'jqxRadioButtonGroup1'
>
TCS
</
div
>
<
div
id
=
'jqxRadioButtonGroup2'
>
Capgemni
</
div
>
<
div
id
=
'jqxRadioButtonGroup3'
>
Wipro
</
div
>
<
input
type
=
"button"
id
=
"btn"
value
=
"Click Here"
style
=
"padding: 5px 14px; margin-top: 15px;"
>
<
br
>
<
div
id
=
"log"
></
div
>
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
$("#jqxRadioButtonGroup1").jqxRadioButton({
theme: 'energyblue',
});
$("#jqxRadioButtonGroup2").jqxRadioButton({
theme: 'energyblue'
});
$("#jqxRadioButtonGroup3").jqxRadioButton({
theme: 'energyblue'
});
$('#btn').on('click', function () {
$('#jqxRadioButtonGroup1').jqxRadioButton('disable');
$('#log').text("Widget disabled!");
});
});
</
script
>
</
body
>
</
html
>