Javascript Reference
Categories: InputTypeText

javascript InputTypeText maxLength

@March 15, 2008, 1:22 a.m.
maxLengthFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Indicates the maximum number of characters that may be typed into a text input element. In practice, browsers beep or otherwise alert users when a typed character would exceed the maxLength value. There is no innate correlation between the maxLength and size properties. If the maxLength allows for more characters than fit within the specified width of the element, the browser provides horizontal scrolling (albeit awkward for many users) to allow entry and editing of the field.

 
Example
 
document.entryForm.myText.maxLength = 35;
 
Value

Integer value.

 
Default

Unlimited.

buy atorvastatin 80mg pill <a href="https://lipiws.top/">buy lipitor 10mg generic</a> atorvastatin cost
Iaxjyi - 10 months

Powered by Linode.