Skip navigation
Lu's Notes
|
Belden
|
HTML Class
|
Scripting
|
PhotoShop
|
Flash
|
GoLive
|
Images
|
Web Colors
|
Visibone
|
|
|
ipower webhost
HTML codes
508 compliance
Acronyms & Definitions
ASP & VBScript
Byte-GB Conversion
Cascading Style Sheets
CSS examples
CSS Borders
CSS Menu
Style definitions
CGI Scripts
CGI Subroutines
Character Symbols
more symbols
Comment code
Dates & Time
Entity Symbols
more symbols
Event Handlers
Form example
Form elements
Form type
JavaScript
Validations
Quiz
Java Links
Object-Class
Data Types
Operators
Conditionals
Definitions
Keywords
Java Notes
File Structure
Code Examples
Class Skeleton
JSP Notes
JSP-Form-Action
Struts config
Struts notes
Symbols Character/Entity
SQL data types
MySQL
Perl MySQL
Rollovers
Pop-upWindow
UML diagrams
Writing for the Web
XML references
Form Elements Example
JavaScript Validations
for form elements
These are for <input
type=". . . " /> form elements
type="text"
to input text
type="text"
may not change text displayed
* does not work in all browsers
type="checkbox"
may check many
type="radio"
only one allowed
type="button"
create your own
type="submit"
will submit form
type="reset"
clear input or refresh info
type="file"
find a file
type="image"
may use as a button or link
type="password"
input displayed as ******
type="hidden"
to carry a value
These are non <input /> form elements <
. . . > </ . . . >
Button
button
another create your own
textarea
to input multi-lines of text
one
two
three
four
select, option
no size specified
one
two
three
select, option
size="3"
one
two
three
alpha
beta
gamma
red
green
blue
select, optgroups
* does not work in all browsers
JavaScript Validations
for form elements
Return to Top of Page