12958NOW v1.2.3 Javascript Text Controlshttp://www.users.on.net/thejefferys4/jstext.htmlThanks to everyone who contributed, even if they don't know they did.
//Thanks to all the people at the www.devshed.com forums
//Finally, very special thanks to http://www.xs4all.nl/~ppk/js/intro.html for their nice text selection script (hey, im a newb :))
//which made this script so much better by taking away the prompt boxes, and replacing them with simply
//selecting the text (well in IE anyway). - Short_RzJavaScript > Scripts and Programs > FormsOct 12, 2006
This class dynamically sets the TABINDEX property for a given sequence of controls. So developers have no more to tediously set'em all along the web page. It could be useful for forms with a large number of controls.
The Textarea () is a great way to get larger amounts of text input into your applications, but it can also be used to segment text that you?d like to make available for people to copy to the clipboard. The more text you make available the more difficult it will be for you to present and for your users to highlight and copy. Fortunately you can replicate the Edit -> Select All actions to allow all your text to be highlighted. The following example contains the opening to the Gettysburg address. All the text will be highlighted when the input button is clicked.
When requesting an important bit of information, such as an email address or a password, you might want the user to enter the information twice so you can verify that a typing error did not occur.
Instead of waiting for the user to submit the form, why not notify the user when the passwords match (and more importantly, when they don't match)?
In the following form, make up a password and enter it in each field. When the passwords match, a "thank you" message should appear. Try modifying one of the passwords so they no longer match and see what happens
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.