domaindomain*
*



Contents  *



Index  *Topic Contents
*Previous Topic: display
*Next Topic: dynsrc

domain

Description

Sets or returns the security domain of the document.

Syntax

object.domain[ = domain]

Settings

This read-write property initially returns the host name of the server the page is from. It can be assigned the domain suffix to allow sharing of pages across frames. For example, a page in one frame from home.microsoft.com and a page from www.microsoft.com would initially not be able to communicate with each other. However, by setting the domain property of both pages to the suffix, microsoft.com, both pages would be considered secure and now access is available between the pages.

Applies To

document


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