Compartilhar via


TitleChange event

Fires when the title of a document in the object becomes available or changes.

Syntax

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

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • sText [in]
    Type: BSTR

    A String that specifies the new document title.

Remarks

Because the title might change while an HTML page is downloading, the URL of the document is set as the title. If the HTML page specifies a title, it is parsed, and the title is changed to reflect the actual title.

See also

InternetExplorer

WebBrowser

Reference

CommandStateChange

StatusTextChange