Hai guys, I use TinyMce textarea in one of my web application...
How to check tinymce textarea's value is null or not using javascript?
document.getElementById("myeditorid").value didnt help me....
Hai guys, I use TinyMce textarea in one of my web application...
How to check tinymce textarea's value is null or not using javascript?
document.getElementById("myeditorid").value didnt help me....
It's not a textarea any more, so the value property won't work.
This is how you get a reference to the editor, and the text from it:
var text = tinyMCE.get('myeditorid').getContent();