You are here: Change Input type="text" to Textarea « HTML « IT news, forums, messages
Change Input type="text" to Textarea

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 of
text 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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация