value

HTML (DHTML)

value Property

Internet Development Index

Retrieves the file name of the input object after the text is set by user input.

Syntax

HTMLN/A
Scripting[ sValue = ] INPUT type=file.value

Possible Values

sValueString that receives the file name.

The property is read-only. The property has no default value.

Remarks

The value property returns only the file name and not the path of the file to machines outside the local machine security zone. For more information on security zones, see About URL Security Zones.

Standards Information

There is no public standard that applies to this property.

Applies To

INPUT type=file