FileUpload.onBlur

JavaScript 1.1+ Nav3+, Opera3+ Syntax

onBlur="command"

Description

The onBlur event handler is an event handler for the FileUpload object that notifies you when the focus is removed from an upload box.

Example

Listing 7.247 shows how the onBlur event handler is used to detect when the focus is removed from the specified upload box. The user chooses a file from the FileUpload box and then clicks the text box that removes the focus from the FileUpload box, causing the Blur event to be thrown.

Listing 7.247 Example of FileUpload onBlur Method
 <html> <head> <title>Using the onBlur event handler</title> </head> <body> <script language="JavaScript"> <!--Hide function inform(){ document.form1.msg.value="File submitted and ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.