how to call a jquery in outsystems

i am quite new to outsystems and is wondering as to how to use jquery in outsystems. i am integrating a wysiwyg editor named CLEDITOR to a text box in outsystems. i copied the entire jquery.cleditor.js content to javascript of a web block. but how to use this .js file with the text box.
i wrote the following thing at onkeypress event of the text box :

$(document).ready(function() {
    $("" + txtCleditor+ "").cleditor();
but this shows nothing at runtime...could someone pls help me out in accomplishing this ? Attached is the .oml file..pls correct it.
Hi leo,

It should be similar to this component. Install this component and try to use it. Then you can probably map the concepts to the cleditor you mention.