获得HTML主机和端口名,可通过JavaScript的window.location对象获取,如window.location.hostname获取主机名,window.location.port获取端口号。
在线咨询: QQ交谈
邮件:HI@E.KD.CN