jquery.acewidget.js is a jQuery plugin for acewidget. It makes acewidget super easy to embed in your own pages.
To create a acewidget, do the following
<div id="container"></div>
<script>
var acewidget = jQuery('#container').acewidget();
</script>
acewidget.setValue("foobar", function(){
alert("setValue "+result.status)
})
The callback is optional' and notified when the action is completed. It is jsend compatible.
acewidget.getValue(function(result){
alert("getValue "+result.status+" text:"+result.data.data)
})
acewidget.setTabSize(8, function(result){
alert("setTabSize "+result.status)
})
acewidget.bind('load', function(){
alert('acewidget is loaded')
})