摘要:
<script language="JavaScript"> function GetLocalIPAddr(){ var oSetting = null; var ip = null; try{ oSetting = new ActiveXObject( "rcbdyctl.Setting" ); ip = oSetting.GetIPAddress; alert(ip); if (ip.length == 0){ return "没有连接到Internet"; } oSetting = null; }catch(e){ 阅读全文