摘要:
一、前台 <script>//D:\wamp\www\node\xiangmuer\views\main // var source = new EventSource('http://127.0.0.1:1111/api/ceshi'); function GetQueryString(name) 阅读全文
摘要:
function GetQueryString(name)//name参数名称 { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if(r!=null)return unescape(r[2... 阅读全文