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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -