摘要:
//捉取页面 protected void Button1_Click(object sender, EventArgs e) { WebRequest webRequest = WebRequest.Create(this.txtSearch.Text.Trim()); WebResponse webResponse = webRequest.GetResponse(); Stream stream = webResponse.GetResponseStream(); //StreamReader sr = new StreamReader(stream); StreamReader sr 阅读全文
摘要:
function getUrlParameter(name) { /// <summary>获得URL的指字参数</summary> /// <param name="name" type="String">参数名</param> var url = location.href; var index = url.indexOf("?"); var result = "null"; if (index > 0) { var items = url.substrin 阅读全文