Methods and Properties of the FileUpload Object : File Upload « Development « JavaScript DHTML






Methods and Properties of the FileUpload Object

  Method
blur()      Removes focus from the FileUpload box.
focus()     Sets focus on the FileUpload box.
handleEvent()  Invokes the default handler for the specified event. 
select()    Selects input area for the FileUpload box.

Property
name        Contains the value of the name attribute for the FileUpload box.
form        Reference the Form object containing the FileUpload box.
type        Contains the value of the type attribute for the FileUpload box.
value       String specifying the pathname of the selected file.
           
       








Related examples in the same category

1.File Input Element
2.Viewing File Dates