Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get ckeditor textarea value in jquery

<textarea name="DSC" class="materialize-textarea"></textarea>
<script>
  CKEDITOR.replace('DSC');
  </script>

var desc = CKEDITOR.instances['DSC'].getData();
OR:

var desc = CKEDITOR.instances.DSC.getData();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ckeditor #textarea #jquery
ADD COMMENT
Topic
Name
1+9 =