You just set class=ckeditor If it is in a SQLFORM then the fields have id=tablename_fieldname. So you just have to do:
$(document).ready(function() {
$('#tablename_fieldname').addClass('ckeditor')
})
On Thursday, 30 August 2012 15:57:47 UTC+1, Picheth wrote:
>
> Hi simon
>
> How do I set a field to ckeditor ?
>
>>
>>> Picheth.
>>>
>>
--

