Note:Read and write property. Sets the maximum number of characters that can fit into the text field. Syntax: document.getElementById("inputID").maxLength = valuedocument.all.inputID.maxLength = value // IE only