I am having a problem with ckeditor data. I have some ckeditor html data saved in my data base as a description. So when i need to update that description i need to set the data from the database and show it in the textarea in order to show user what was it. I'm using laravel 5.3. In order to do this i have tried this
var old_description = '<?php echo $Product->description;?>';
$('#detail').val(old_description);
But this is giving the following error
What is the problem and what should i do?
