|
Accessing and validating forms using Javascript
|
Other links at JavaScript > Tutorials > Forms |
| 1. |
The target attribute
|
|
|
For various web scripts it is more convenient that user will see form executed in new window when he is pressing the submit button. Using JavaScript you can control the appearance of that window. change size, turn off navigation panel, hide manubar and so on. This technique is very helpful for poll and guestbook applications.
|
| 2. |
Address Auto-Fill Ckeck Box
|
|
|
Javascript code that automatically fills in the address in all places needed on the page after just once entering it and selecting the check box.
|
| 3. |
JavaScript Form object explanation
|
|
|
Complete listing of the Form object of JavaScript and its properties/methods. Also includes additional pages describing objects beneath Form, such as TEXTAREA, SELECT etc.
|
| 4. |
Text Box Characters Counter
|
|
|
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.
|
| 5. |
JavaScript Forms and Frames
|
|
|
This articles discusses two aspects of JavaScript: working with HTML forms and manipulating frames. It also present a simple but effective personalized greeting script and a script used for submitting and HTML form. Main topics covered: Personalized greetings, Submitting an HTML form using JavaScript, Input Validation, and Frames and JavaScript.
|
|
|