www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 hostname Property
hostname Property

Sets or retrieves the host name part of the location or URL.

Syntax

HTMLN/A
Scripting[ sHostname = ] object.hostname

Possible Values

sHostnameString that specifies or receives the host and domain name, or the numerical IP address.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

If no host name is available, this property returns an empty string.

Standards Information

There is no public standard that applies to this property.

Applies To

A, AREA, location
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG