Form JavaScript Tutorial

Syntax

onFocus="command"
The onFocus event handler notifies you when the focus is set on the upload box.


    
    Using the onFocus event handler
    
    
    
    
    
    
    Click in the FileUpload box to set focus to it.
    


    
    


    Click on the button to remove focus from the FileUpload box.