<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
link
rel
=
"stylesheet"
href
=
"jqwidgets/styles/jqx.base.css"
type
=
"text/css"
/>
<
link
rel
=
"stylesheet"
href
=
"jqwidgets/styles/jqx.energyblue.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/jqxcheckbox.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxcheckboxgroup.js"
></
script
>
<
style
>
body {
margin-left: 100px;
}
.jqxcheckboxgroup {
margin-left: 50px;
}
</
style
>
</
head
>
<
body
>
<
center
>
<
h1
style
=
"color: green;"
>
GeeksforGeeks
</
h1
>
<
h3
>
jQWidgets jqxCheckBoxGroup theme Property
</
h3
>
<
h4
>Select your Company name:</
h4
>
<
div
class
=
'jqxcheckboxgroup'
>GfG</
div
>
<
div
class
=
'jqxcheckboxgroup'
>TCS</
div
>
<
div
class
=
'jqxcheckboxgroup'
>Capgemni</
div
>
<
div
class
=
'jqxcheckboxgroup'
>Wipro</
div
>
<
br
>
<
input
type
=
"button"
style
=
"margin: 5px;"
id
=
"btn"
value
=
"Click here"
/>
<
div
id
=
"log"
></
div
>
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
$(".jqxcheckboxgroup").jqxCheckBox({
theme: 'material',
});
$("#btn").jqxButton({
width: 180,
});
$('#btn').jqxButton().
click(function () {
var th =
$('.jqxcheckboxgroup').jqxCheckBox('theme');
if (th === null) {
$('#log').text("Null!");
}
else {
$('#log').text("Not null!");
}
});
});
</
script
>
</
center
>
</
body
>
</
html
>