JavaScript Input
Invoke the val method of the jqxButton. Author: http://jqwidgets.com
by mogador
HTML
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<input type="button" value="Click me" id='jqxButton' />
JavaScript
$('#jqxButton').jqxButton({
theme: 'energyblue'
});
$('#jqxButton').on('click', function() {
alert('Text of the button, using $("#jqxButton").val() : ' + $("#jqxButton").val());
alert("Text of the button, using $('#jqxButton').jqxButton('val') : " + $('#jqxButton').jqxButton('val'));
});