August 1999
Intermediate to advanced
1488 pages
72h 53m
English
fileupload.handleEvent(event)
The handleEvent() method of the FileUpload object invokes the event handler for the specific event.
Listing 7.245 shows how the handleEvent() method is used to handle all CHANGE events. When the user chooses or enters a filename in the FileUpload box and then changes the information, the CHANGE event occurs and is captured. The handleChange function processes the CHANGE event and passes it to the handleEvent() method of the upload box. So the event handler for the upload box will handle all CHANGE events.
<html> <head> <title>Using the handleEvent method</title> </head> <body> <script language ... |
Read now
Unlock full access