Certain form fields always contain the same values, such as your user's name, email address fields etc. This script will remember the values entered into these fields, and automatically fill out these fields the next time the user returns.
JavaScript Operations on Variables JavaScript / Getting Started
A variable is an amount of memory space reserved to store a piece of information of your code. To use such a memory space, you must first let the browser know that you would need it. For the browser to reserve such a memory space for you, and to use it eventually, you must give it a name. The memory space that is reserved will be used to receive some values from your application and to make such values available when your code needs them. The content of this reserved memory space can change or vary regularly.
Cookies JavaScript / Cookies and Sessions
A cookie lets you store a small amount of information about a user visiting your site. A cookie is a small text file that is stored on the site visitor's computer by their browser.Because the cookie is stored on the user's computer, it does not require any server space no matter how many users you have.You can use cookies to save user preferences, customize data, remember the last visit, or to keep track of items in an order while a user browses.
JavaScript and Forms JavaScript / Forms
A form is a section of a web page that contains one or a group of objects that the user interacts with. These objects are referred to as Windows controls, web controls, or simply controls. When using a control, the user may enter or select some values and send the result to a specific file as designed by an application developer. To support this interaction, HTML provides different text-based and selection controls that can handle various types of scenarios. Besides these, there are action controls that actually send a signal to a script.
How to Populate Fields from New Windows Using JavaScript JavaScript / Frames and Window
Occasionally, filling out web page forms can be daunting. Fortunately, some forms display a question mark next to the form field, which opens a popup window containing additional information. This week, you'll learn how to enhance the functionality of those windows.
HTML Forms Validation On The Client Side JavaScript / Forms
Form validation on the client-side is essential - it saves time and bandwidth; you also have better control to show the user the wrong field. This comparison of different validation methods includes comments for improving portability and maintainability.
YUI Color Picker JavaScript / Miscellaneous
Need a color picker for your online forms or application? This advanced color picker is based on Yahoo's excellent UI library, more specifically, the slider widget. We've added additional code to help integrate the color picker with forms on your page, so clicking on specific form fields causes the selected color value to be populated inside them in real time. Furthermore, a color box is shown alongside the field to display the current input color in real time.
Text Box Characters Counter (IE4+) JavaScript / 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.
Bouncing Text JavaScript / Text Effects
Looking to add a little bounce to your text? Add this code to your page. The simple copy and paste technique offered here makes it easy.