title: How to decrease the count, when entering numbers or characters into the textarea
body: <pre><code>&lt;script&gt;
  function textCounter(field,field2,maxlimit)
  {
    var countfield = document.getElementById(field2);
    if( field.value.length &gt; maxlimit ) 
    {
      field.value = field.value.substring( 0, maxlimit );
      return false;
    } 
    else 
    {
      countfield.value = maxlimit - field.value.length;
    }
  }
  &lt;/script&gt;
  &lt;textarea onkeyup="textCounter(this,'counter',50);"  id="message"&gt;&lt;/textarea&gt;
  &lt;input disabled maxlength="3" size="3" value="50" id="counter"&gt;
  </code></pre>
  
  <p>when entering numbers or characters into the textarea, How do I decrease the count?</p>