Mega Code Archive

 
Categories / JavaScript DHTML / Form Control
 

Client-Side JavaScript Objects and HTML Tags That Create Instances of Them

/* +-------------------------------------+--------------------------------------+ |   JavaScript Object                 |        Corresponding HTML Tag        | +-------------------------------------+--------------------------------------+ |    Button                           |    <input type="button">             | +-------------------------------------+--------------------------------------+ |    Checkbox                         |    <input type="checkbox"> +-------------------------------------+--------------------------------------+ |    Hidden                           |    <input type="hidden"> +-------------------------------------+--------------------------------------+ |    Fileupload                       |    <input type="file"> +-------------------------------------+--------------------------------------+ |    Password                         |    <input type="password"> +-------------------------------------+--------------------------------------+ |    Radio                            |    <input type="radio"> +-------------------------------------+--------------------------------------+ |    Reset                            |    <input type="reset"> +-------------------------------------+--------------------------------------+ |    Select                           |    <select> +-------------------------------------+--------------------------------------+ |    Frame                            |    <frame> +-------------------------------------+--------------------------------------+ |    Document                         |    <body> +-------------------------------------+--------------------------------------+ |    Layer                            |    <layer> or <ilayer> +-------------------------------------+--------------------------------------+ |    Link                             |    <a href=""> +-------------------------------------+--------------------------------------+ |    Image                            |    <img> +-------------------------------------+--------------------------------------+ |    Area                             |    <map> +-------------------------------------+--------------------------------------+ |    Anchor                           |    <a name=""> +-------------------------------------+--------------------------------------+ |    Applet                           |    <applet> +-------------------------------------+--------------------------------------+ |    Plugin                           |    <embed> +-------------------------------------+--------------------------------------+ |    Form                             |    <form> +-------------------------------------+--------------------------------------+ |    Submit                           |    <input type="submit"> +-------------------------------------+--------------------------------------+ |    Text                             |    <input type="text"> +-------------------------------------+--------------------------------------+ |    Textarea                         |    <textarea> +-------------------------------------+--------------------------------------+ |    Option                           |    <option>  +-------------------------------------+--------------------------------------+ */