IHTMLAreaElement::get_hrefIHTMLAreaElement::get_href*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLAreaElement::get_hostname
*Next Topic: IHTMLAreaElement::get_noHref

IHTMLAreaElement::get_href


HRESULT get_href(
    BSTR *p
);

Retrieves the destination URL or anchor point.

p
Address of a string variable that receives the URL.

The HREF attribute on the anchor is a scriptable attribute. HREFs on anchors can jump to bookmarks or any element's id attribute.

See also put_href

Up Top of Page


IHTMLAreaElement::put_href


HRESULT put_href(
    BSTR v
);

Sets the destination URL or anchor point.

v
String value specifying the URL.

The HREF attribute on the anchor is a scriptable attribute. HREFs on anchors can jump to bookmarks or any element's id attribute.

See also get_href


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