Gets or sets the maximum number of characters for text fields.

[VBScript]
Public Property MaxLength As Integer
[JScript]
public function get MaxLength() : int;
public function set MaxLength(int);

Property Value

A value representing the maximum number of characters for text fields.

See Also

HTMLInputElement Object | HTMLInputElement Members | DOM Namespace