Url.text (Property)

The text that appears between the <A> and </A> tags.

Availability:

JavaScript - 1.2
Netscape version - 4.0
Property/method value type:String primitive on Netscape. Undefined value on MSIE
JavaScript syntax:NmyUrl.text

This is equivalent to the innerText property that MSIE supports. On Netscape 4 Url.text is ReadOnly while the Url.innerText property on MSIE 4 allows read and write access.

Assigning to this property in MSIE simply creates a text property but does not affect the text of the anchor.

The value yielded by this property (when it does work) is the text between the <A> and </A> tags.

Warnings:

See also:Anchor.text, Url object