共用方式為


DownloadBegin event

Fires when a navigation operation begins.

Syntax

HTML Attribute <element DownloadBegin = "handler(event)">
attachEvent Method object.attachEvent("DownloadBegin", handler)

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

This method has no parameters.

Remarks

This event is fired shortly after the BeforeNavigate event or the BeforeNavigate2 event, unless the navigation is canceled. Any animation or "busy" indication that the container must display should be connected to this event.

Each DownloadBegin event has a corresponding DownloadComplete event.

See also

InternetExplorer

WebBrowser

Reference

Navigate

ProgressChange