NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Javascript Text Box Characters Counter
14710 Javascript Text Box Characters Counter http://www.reconn.us/character_counter.html Forms always require validation when they are used in not safe environments. One method is to verify the data submitted through POST or GET before actually executing the form action. Using Javascript it is possible to do this in a more simple way. JavaScript > Tips and Tutorials > Forms Oct 12, 2006 Reconn.us Team

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  



Other links at JavaScript > Tips and Tutorials > Forms
In forms when using text boxes or text areas with limited character length (usually needed for forms that submit data to a database) it is always a good idea to tell the user how many characters they have remaining. The following example shows how you can do this. This is a very simple and cute idea to help the user know exactly how many characters he can type further. Do these small add-ons to your forms and they will look really professional.
Category:

This little bit of JavaScript disables the submit button as soon as it is clicked for the first time and prevents the user sending their form multiple times. The script now also changes the word "submit" to "thanks" as an extra indication that the form has been sent.
Category:

Move items from one menu to another by using two multiple-select menus. Make it easy to create a list, for example. I found this useful when creating a distribution list where I had a set of people available on one side and the list on the other.
Category:

However, the JavaScript confirm() method allows a user to cancel the submission of a form, based on an interactive alert from the browser. If the user decides not to submit the form, he or she can cancel the submission before the browser ever sends it across the network. In addition, this alert can even display the information that the user entered into the form to verify that it is correct. And the best part about it is that it's cross-browser and cross-platform compatible.
Category:

The most effective way to understand JavaScript's power is to apply it to forms. JavaScript lets your visitors complete your forms faster than using CGI (Common Gateway Interface). One of the problems with CGI is that when a user makes a mistake filling out a form, he or she has to wait for the server to return an error message. With JavaScript, this process is almost instantaneous. You can set up the form so that when the user clicks on the submit button, JavaScript will check to see if all the input is valid before it sends it to you or your server.
Category:




Main Category
165
2028
756
275
169
1801
1074
892
1127
7088
70
874
58
2145
170

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 18673
Categories: 1275
Registered Users: 536
Mailing List Subscribers: 2031
Unique Outgoing Hits: 192542

Pagerank Statistics
PR 10
2 site(s)
PR 9
9 site(s)
PR 8
28 site(s)
PR 7
243 site(s)
PR 6
771 site(s)
PR 5
1848 site(s)

PHP News