Click to Rate and Give Feedback
Properties
 value Property
value Property

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
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker