IHTMLObjectElement::get_onreadystatechangeIHTMLObjectElement::get_onreadystatechange*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLObjectElement::put_onreadystatechange
*Next Topic: IHTMLObjectElement::put_onerror

IHTMLObjectElement::get_onreadystatechange


HRESULT get_onreadystatechange(
    VARIANT *p 
);

Retrieves the inline script associated with the onreadystatechange event on the OBJECT element. This event is fired whenever the readyState for the object has changed.

p
Address of a VARIANT structure that contains the script.

For more information on inline script, see Attaching an Event Handler in the Understanding the Event Model documentation.

See also put_onreadystatechange

Up Top of Page


IHTMLObjectElement::put_onreadystatechange


HRESULT put_onreadystatechange(
    VARIANT v 
);

Sets the inline script associated with the onreadystatechange event on the OBJECT element. This event is fired whenever the readyState for the object has changed.

v
VARIANT structure that contains the script to be set.

For more information on inline script, see Attaching an Event Handler in the Understanding the Event Model documentation.

See also get_onreadystatechange


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.