35.2 C
New York
Tuesday, August 9, 2022

How to get ckeditor value with tags on ajax-submit ?

- Advertisement -





If you are use ckeditor for textarea and you need to fore ajax submit or form js submit, but you can’t find ckeditor value in your controller or php file. So, first you have to update field using CKEDITOR.instances. so you can try to following code.

for ( instance in CKEDITOR.instances )

CKEDITOR.instances[instance].updateElement();

- Advertisement -

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles