ajax(Object handler[, Object ajaxOptions])

Release 1.3 - ...

Instead of passing just the ready handler, you can pass an AjaxOptions object for more flexibility.

Javascript CopyCode image Copy Code
sml.ajax({
   busy: $j(this),
   ready: function(){
      var s = smartlet.get('status');
      $j("#statusDiv").html(s); 
   }
});