The first step is to create html page and add links to the javascript files and css dependencies to your project. The jqxEditor widget requires the following files:
$("#editor").jqxEditor('print');To get the jqxEditor's value, you need to do the following:
var value = $("#editor").val();To set a property(option), you need to pass the property name and value(s) in the jqxEditor's constructor.
$("#editor").jqxEditor({ lineBreak: 'div' });To get a property(option), you need to pass the property name to the jqxEditor's constructor.
var lineBeak = $("#editor").jqxEditor('lineBreak');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 Editor value is changed.
// bind to 'change' event. $('#editor').on('change', function (event) { });