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

By Hardik Savani | February 26, 2016 | | 3019 Viewer | Category : PHP Javascript jQuery


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();


Do you want to expert php developer or developer team for your projects ?
Contact US
We are Recommending you: