| Posted by Camile on 12/16/05 17:24 
I'm working with a simple form that uses an Input type="text" for a line oftext limited to a predetermined number of characters.  As follows:
 
 <INPUT TYPE="TEXT" class="text" id="mess" name="messtext" maxlength="100"
 size="60"
 onKeyUp="Count('mess','cntdis','{CHAR} characters left.',160);"><br><span
 id="cntdis" class="smalltext">160 characters left.</span></td>
 
 
 
 I want to convert it to use Textarea so it can be a small square form. I
 can't seem to make my Textarea syntax work in place of  the Input
 Type="text".
 
 
 
 <TEXTAREA cols="40" rows="5" id="mess" name="messtext"></textarea>
 
 
 
 The Textarea box displays with the OnKeyup and count(stuff).
 
 
 
 Any suggestions?
  Navigation: [Reply to this message] |