title: how do you strip html tags in textarea input
body: <p>I have set up a little web application where you add post-its to a page. It's just a project to help better learn JavaScript/jQuery and it seemed like an appropriate project (I'm new to JS/jQuery).</p>
  
  <p>This is the fiddle: <a href="http://jsfiddle.net/mitchbregs/mWaPz/">http://jsfiddle.net/mitchbregs/mWaPz/</a></p>
  
  <p>I found this website: <a href="http://www.hscripts.com/scripts/JavaScript/remove-html-tag.php">http://www.hscripts.com/scripts/JavaScript/remove-html-tag.php</a></p>
  
  <p>I implemented the code as so: </p>
  
  <blockquote>
  <pre><code>function stripHTML(){
  var re = /(&lt;([^&gt;]+)&gt;)/gi;
  for (i=0; i &lt; arguments.length; i++)
  arguments[i].value=arguments[i].value.replace(re, "")
  }
  </code></pre>
  </blockquote>
  
  <p>and it still didnt work.</p>
  
  <p>The problem: I need it so that when somebody inputs text into the textarea, if they input something like this "<code>&lt;b&gt;Hi&lt;/b&gt;</code>" it would strip the "<code>&lt;b&gt;</code>" tag from the input and leave just the text.</p>
  
  <p>If someone could help me out this it would be great.. Thanks!</p>