validation - JavaScript to find TinyMCE rich text editor value is null or not -
I use TinyMCE textarea in one of my web applications.
- How to check
document.getElementById ("myeditorid"). Value
did not help me.
This is not a textarea, so the value property will not work.
How is this a reference to the editor and get the text from it:
var text = tinyMCE.get ('myeditorid'). GetContent ();
Comments
Post a Comment