On MSIE the property is also available as the property.


JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Property/method value type:String primitive
JavaScript = newHostPort
HTML syntax:<A HREF="...">

This yields the host and port value of the HREF value in an <A> tag.

You can redefine the host to request the URL by assigning a new value to this property.


See also:Anchor object, Anchor(), Anchor.hash, Anchor.href, Anchor.pathname, Anchor.port, Anchor.protocol,,, URL,