The first step is to create html page and add links to the javascript files and css dependencies to your project. The jqxFormattedInput widget requires the following files:
$("#jqxFormattedInput").jqxFormattedInput("open");
To get the formatted input's value (the currently displayed number), you need to
do the following:
var value = $("#jqxFormattedInput").val();
To set a property (option), you need to pass the property name and value(s) in the
jqxFormattedInput's constructor:
$("#jqxFormattedInput").jqxFormattedInput({ radix: "hexadecimal" });
To get a property (option), you need to pass the property name to the jqxFormattedInput's
constructor:
var min = $("#jqxFormattedInput").jqxFormattedInput("min");
To bind to an event of a UI widget, you can use basic jQuery syntax. Let’s suppose
that you want to know when the input value (number) is changed:
// bind to 'change' event.
$('#jqxFormattedInput').on('change', function (event) {
});