title: textarea with limited lines and char limits
body: <p>i need functionaliy which will have TextArea with </p>
  
  <pre><code>1) maximum total lines- 6 and 
  2) in each line there must be maximum of 16 chars
  3) if user enters 17th character the cursor should go to the next line 
  and user will type in there (the line will be counted)
  4) if user reaches to the 7th line it will not allow user to write
  5) if user type e.g "Hello, I Love StackOverflow and its features" (counting 
  from 1st Char 'H', the 16th char is 't' but it is whole word 'StackOverflow',
      it shouldn't break and continue to next line e.g.
          Hello, I Love St
          ackOverflow
  now the whole word should come to next line like:
  
          Hello, I Love
          StackOverflow 
          and its features
  </code></pre>
  
  <p>here is the link what i have done so far
  <a href="http://jsfiddle.net/nqjQ2/2/" rel="nofollow">http://jsfiddle.net/nqjQ2/2/</a></p>
  
  <p>sometimes some of the functionality work, some times not, and facing browser issues for onKeyUp and onKeyDown
  can anyone help me with it ?</p>