<!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/jqx-all.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxcore.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxdraw.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxtimepicker.js"
></
script
>
</
head
>
<
body
>
<
center
>
<
h1
style
=
"color: green;"
>
GeeksforGeeks
</
h1
>
<
h3
>
jQWidgets jqxTimePicker setMinutes() Method
</
h3
>
<
div
id
=
"jqxTP"
></
div
>
<
input
type
=
"button"
value
=
"Set Minutes"
id
=
"GFG"
style
=
"padding: 5px 10px; margin-top: 20px;"
>
</
center
>
<
script
type
=
"text/javascript"
>
$(document).ready(function() {
$("#jqxTP").jqxTimePicker({
width: 400,
height: 400,
selection: 'minute'
});
$("#GFG").on('click', function() {
$('#jqxTP').jqxTimePicker('setMinutes', 24);
});
});
</
script
>
</
body
>
</
html
>