<!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.js"
>
</
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxcore.js"
>
</
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxbuttons.js"
>
</
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxdockpanel.js"
>
</
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqx-all.js"
>
</
script
>
</
head
>
<
body
>
<
center
>
<
h1
style
=
"color:green;"
>
GeeksforGeeks
</
h1
>
<
h3
>
jQWidgets jqxDockPanel disabled Property
</
h3
>
<
div
id
=
'jqx_DockPanel'
>
<
div
style='height: 40px;
background: red;'>
First</
div
>
<
div
style='height: 40px;
background: green;'>
Second</
div
>
<
div
style='height: 40px;
background: yellow;'>
Third</
div
>
<
div
style='height: 40px;
background: blue;'>
Fourth</
div
>
</
div
>
<
input
type
=
"button"
style
=
"margin: 25px;"
id
=
"button_for_disabled"
value
=
"Value of the disabled property"
/>
<
div
id
=
"log"
></
div
>
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
$("#jqx_DockPanel").jqxDockPanel({
width: 300,
height: 210,
disabled: true
});
$("#button_for_disabled").jqxButton({
width: 350,
theme: 'energyblue'
});
$('#button_for_disabled').jqxButton().
click(function () {
var value_of_disabled =
$('#jqx_DockPanel').jqxDockPanel('disabled');
$("#log").html(value_of_disabled);
})
});
</
script
>
</
center
>
</
body
>
</
html
>