[Javascript] IPAddress

Hassan Schroeder hassan at webtuitive.com
Thu Mar 20 13:42:08 CST 2003


andy susanto wrote:

> Can I get IPAddress with Javascript ?

Dunno about IE but in Netscape/Mozilla/Opera with a Java plugin,
this'll work:

alert(java.net.InetAddress.getLocalHost().getHostAddress());

HTH!
-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.





More information about the Javascript mailing list