JavaScript DHTML/Development/Server Info

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

Return the domain name of the document"s server

   <source lang="html4strict">

<html> <body> The domain name for this site is: <script type="text/javascript">

       document.write(document.domain)

</script> </body> </html>


      </source>