Fires from a persistent element when the page is loaded or reloaded.
Syntax
void onload( IHTMLEventObj *pEvtObj );
Parameters
- pEvtObj
- [in] Address of an IHTMLEventObj interface variable.
Return Value
None. The event continues processing with the parent element's event handler.
Remarks
For more information, see onload in the Dynamic HTML (DHTML) reference page.
This event is available in Microsoft® Internet Explorer 5 and later.
Applies To
Anchor, Area, Button, Document, Element, Form, Image, InputFile, InputImage, InputText, Link, Label, Map, Marquee, Object, OptionButton, Script, Select, Style, Table, TextContainer, Window2