Javascript Reference
Categories: INPUT

javascript INPUT Description

@Aug. 17, 2009, 9:46 a.m.
input Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

 

  

The input object reflects the input element. While Netscape Navigator exposes this HTML element completely only starting with Version 6, most of these form controls had some of their properties and methods available to earlier versions, going all the way back to Version 2.

 

In the W3C DOM specification, all input element objects share the same properties, even when the properties don't necessarily apply (the checked property of an input element of type text, for example). To reduce potential confusion, the discussions here for input types limit the properties to those that apply directly to a specific input type. See the following individual descriptions for each input object type: button, checkbox, fileUpload, hidden, image, password, radio, reset, submit, and text.

 

A few properties and methods that don't appear here in the lists of object-specific items are worth highlighting. While the IE DOM (especially in the Windows versions) ascribes properties such as accessKey, disabled, and tabIndex to virtually every HTML element, the W3C DOM is typically more parsimonious in handing out these properties to elements. But input elements are the right places for these properties, and you'll find full implementations in Netscape 6, as well as IE 4 or later. The same goes for the blur( ), click( ), and focus( ) methods.

 

Event handlers for each input type are listed here, even though they are shared among all elements in more recent browsers. If your development must take backward compatibility into account, it's important to know precisely which input types recognize each of the long-supported events.

buy atorvastatin 40mg online cheap <a href="https://lipiws.top/">order atorvastatin 20mg</a> buy lipitor 80mg online cheap
Gywkqo - 10 months
buy lipitor 10mg pills <a href="https://lipiws.top/">atorvastatin over the counter</a> atorvastatin 80mg brand
Raxalw - 10 months

Powered by Linode.