When we add ckeditor textarea, it shows default text in the textarea – ‘This is my textarea to be replaced with CKEditor’.
To remove this default text from textarea, just use the below code :
CKEDITOR.instances.TEXTAREAID.setData('');
When we add ckeditor textarea, it shows default text in the textarea – ‘This is my textarea to be replaced with CKEditor’.
To remove this default text from textarea, just use the below code :
CKEDITOR.instances.TEXTAREAID.setData('');
Sometimes while sending a SMS, we need to add a new line or a link break in our sms. There are many ways to add a line break. But now every method will work in your case because it depends on how you are sending your SMS.
I Method :
Add “\r\n” in your SMS.
II Method :
Add “%0a” in your SMS.
Note : Encode your message with ” ” (double quotes) not ‘ ‘ (single quotes).