validation - JavaScript to find TinyMCE rich text editor value is null or not -


I use TinyMCE textarea in one of my web applications.

  1. 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

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

.net - Self Tracking Entities (STE)'s and partial updates with EF4 and mVC2 -