<jQuery>.scf.sys

Release 1.2 - ...

The <jQuery>.scf.sys class groups several system methods.

startTranslate(String translationCode, function callback, Object params)

Asynchronously calls server-side translations using Json over Ajax.

Usage:

Javascript CopyCode image Copy Code
$j.scf.sys.startTranslate('mytranslation', function(result){alert(result)}, {
   data: $j("#txtText").val(),
   myotherarg: true
});

translate(String translationCode, Object params)

Synchronously calls server-side translations using Json over Ajax.

Usage:

Javascript CopyCode image Copy Code
$j.scf.sys.translate('mytranslation', {
   data: $j("#txtText").val(),
   myotherarg: true
});