Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q883 How can I display the IP address of the current page?

You are here: irt.org | FAQ | JavaScript | Java | Q883 [ previous next ]

Using Java from JavaScript (LiveConnect) you might be able to do this with:

<script language="JavaScript1.1"><!--
if (navigator.javaEnabled())
    document.write(java.net.InetAddress.getLocalHost());
//--></script>

©2018 Martin Webb