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

Auto-Fill Ckeck Box
14720 Auto-Fill Ckeck Box http://newsourcemedia.com/index_view.php?id=59 I ran accross this code when working on a registration product site. The goal is to save the user's time by not having them fill in the same address over and over, if the address for there billing is the same as the mailing address. JavaScript > Tips and Tutorials > Forms Oct 12, 2006

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



Other links at JavaScript > Tips and Tutorials > Forms
Validate a text box for numeric data and disallow invalid characters in javascript.
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:

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:

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.
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:




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: 192540

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