テキスト入力フォームで文字数を表示する - JavaScript TIPSふぁくとりーFirst Faved : Jul 04 2008 by mippeFaved : 1 time with noteViewed : 42 timesFave It!
Faves for this Web page
- mippe - Jul 04 2008 | javascript, Form, onkeyup
JavaScriptを使うと、テキストエリアなどの文字列入力フォーム上で、ユーザが入力した文字数をカウントすることが簡単にできます。それを活用すると、テキストエディタのように、「現在の入力文字数」をリアルタイムに表示することもできます。
例えば、以下のように。
Already a user? Sign In
Add a Fave for this Web page
- What happens when I press Publish?
- Your Fave for this Web page gets shared with the Faves community. You can access it at any time by selecting "My Faves" from the menu above.
- Why do you ask for my email address?
- We use your email address to create an account, so you can easily find your Fave again at a later time.
Related Content from Around Faves
forms
- 3 FaversViewed: 3 Times
- treasonaste - May 13 20081 FaverViewed: 61 Times
- dot - Sep 14 20071 FaverViewed: 7 Times
css
-
1 FaverViewed: 18 TimesQuoted: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- wilburscoles - Aug 31 20082 FaversViewed: 20 Times
- mike - 17 days ago3 FaversViewed: 8 Times
