document.domain : domain « Document « JavaScript Tutorial






The domain property initially contains the hostname of the server from which the document was loaded.

<html>
    <script>
    <!--
    document.write("The domain: ",document.domain);

    -->
    </script>
    </html>








14.10.domain
14.10.1.document.domain