Basic HTML version of Foils prepared 11 March 99

Foil 13 The domain Property

From Overview of JavaScript II -- From Cookies to Dynamical HTML CPS616 Technologies of the Information Age -- Spring Semester 99. by Geoffrey C. Fox (Tom Scavo)


The document.domain property is initialized to the hostname of the server from which the document was loaded
This property may be set to any valid domain suffix of itself
For example, if document.domain is "home.netscape.com", it may be set to "netscape.com" (but not "ape.com")



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Mar 11 1999