title: Is this an efficient way to convert HTML to text using jQuery?
body: <p>I'm trying to convert HTML to plain text. Is it efficient? Am I missing something?</p>
  
  <pre><code>txt = $("body").find("script,noscript,style,:hidden").remove().end().text();
  </code></pre>
  
  <p>Thanks!</p>