title: How to get HTML element node value in TinyMCE editor using Javascript or jQuery
body: <p>How to get the node name value using javascript or jquery in TinyMCE editor.</p>
  
  <p>I could get only the nodeName. Here is my code below I tried,</p>
  
  <pre><code>var ed = tinyMCE.activeEditor;
  var errorNode = ed.selection.getNode().nodeName;
  alert(errorNode);
  </code></pre>
  
  <p>I have tried with jquery text() and value() but cannot fetch the node name value in HTML tags.</p>
  
  <p>I just want to retrieve the value from HTML tags.
  For example i have span tags <code>&lt;span color="error"&gt;That's great&lt;/span&gt;</code></p>
  
  <p>Could anyone please give me suggestion or help on this topic</p>
  
  <p>Thanks in advance.</p>