Html5 Window
Set the cancelButton property of the jqxWindow. Author: http://jqwidgets.com
by jqwidgets
HTML
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxwindow'>
<div>Header</div>
<div>
<div>
<input type="button" id="ok" value="OK" style="margin-right: 10px" />
<input type="button" id="cancel" value="Cancel" />
</div>
</div>
</div>
JavaScript
$('#jqxwindow').jqxWindow({
theme: 'energyblue',
resizable: false,
okButton: $('#ok'),
cancelButton: $('#cancel'),
initContent: function () {
$('#ok').jqxButton({
width: '65px',
theme: 'energyblue'
});
$('#cancel').jqxButton({
width: '65px',
theme: 'energyblue'
});
$('#ok').focus();
}
});