![]()  | ||
  | ||
  | ||
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.
- Returns S_OK if successful, or an error value otherwise.
 
- p
 - Address of a variable that receives the element name.
 See also put_htmlFor
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.
- Returns S_OK if successful, or an error value otherwise.
 
- v
 - String specifying the element name.
 See also get_htmlFor
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.