IHTMLScriptElement::get_htmlForIHTMLScriptElement::get_htmlFor*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLScriptElement::put_htmlFor
*Next Topic: IHTMLScriptElement::put_event

IHTMLScriptElement::get_htmlFor


HRESULT get_htmlFor(
    BSTR *p 
);

Retrieves which element is being bound to the event script. This htmlFor property corresponds to the HTML FOR= attribute.

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

p
Address of a variable that receives the element name.

See also put_htmlFor

Up Top of Page


IHTMLScriptElement::put_htmlFor


HRESULT put_htmlFor(
    BSTR v 
);

Sets which element is being bound to the event script. This htmlFor property corresponds to the HTML FOR= attribute.

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

v
String specifying the element name.

See also get_htmlFor


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