JavaScript DHTML/Development/Server Info
Версия от 13:02, 26 мая 2010; (обсуждение)
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>