I am trying to get CKEditor to use an unique ID that I can use some jQuery to grab the value within a ajax request. Can anyone suggest how I can set the ID for the editor? Below is the code http://pastebin.com/eTP7xnKr
Have a look in ckeditor.php it will tell you how.
Sorry, I don't have a clever answer...
Try something like this, you can also set many other attributes:
$CKEditor->textareaAttributes = array("id" => $fieldname, "cols" => 40, "rows" => 4, 'style' => "width: {$width}; height: {$height}; position: relative; overflow: auto;");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.