本文实例讲述了JS简单获取客户端IP地址的方法。分享给大家供大家参考,具体如下: <!doctype html> <html> <head> <meta charset="utf-8"> <title>使用搜狐接口获取客户端IP地址</title> </head> <body> [removed][removed] [removed] [removed](returnCitySN["cip"]+','+returnCitySN["cname"]) </sc