JavaScript Tutorial/Document/domain

Материал из Web эксперт
Перейти к: навигация, поиск

document.domain

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>