Html Button

Invoke the focus method of the jqxButton. 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">
<input type="button" value="Click me" id='jqxButton' />

JavaScript

$('#jqxButton').jqxButton({
    theme: 'energyblue'
});

// Focus the Button
$('#jqxButton').jqxButton('focus');