1. Methode zum Erhalten der IP -Adresse durch JS
<script src = "http://pv.sohu.com/cityjson?ie=utf-8"> </script> <script type = "text/<a class = infotextKey href =" // www.vevb.com/ "target = _blank> javascript </a>"> ">"> ">"> ">"> ">"> ">"> ">"> ">"> ">"> ">"> document.write (returnCitySn ["cip"]+','+returnCitySn ["cname"]) </script>
2. Methode 2 von JS, um eine IP -Adresse zu erhalten
<script Language = "javaScript" type = "text/javascript" src = "http://fw.qq.com/ipaddress"> </script> <script> document.write ("Ihre IP ist:"+ipdata [0]+", aus:"+ipdata [2]); </script>3. Methode 3 von JS, um IP-Adresse, Tencent IP und UTF-8 zu erhalten:
<script type = "text/javaScript" src = "http://fw.qqq.com/ipaddress" charset = "gb2312"> </script> $ (document) .ready (function () {$ ("#ip").