摘要: public string wipescript(string html) { System.Text.RegularExpressions.Regex regex1 = new System.Text.RegularExpressions.Regex(@"<script[\s\s]+</script *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase); System.Text.RegularExpressions.Regex regex2 = new System.Text.Regul 阅读全文
posted @ 2011-06-24 17:26 狼-志 阅读(2817) 评论(0) 推荐(0)
摘要: // <summary> //当有数据时交时,触发事件 // </summary> // <param name="sender"> </param> // <param name="e"> </param> protected void Application_BeginRequest(Object sender, EventArgs e){//遍历Post参数,隐藏域除外 foreach (string i in this.Request.Form){if (i == " 阅读全文
posted @ 2011-06-24 17:08 狼-志 阅读(3489) 评论(2) 推荐(1)
摘要: js操作dom对象DOMDocument 属性和方法 最近发现DOMDocument对象很重要,还有XMLHTTP也很重要注意大小写一定不能弄错.属性:1Attributes 存储节点的属性列表(只读)2childNodes 存储节点的子节点列表(只读)3dataType 返回此节点的数据类型4Definition 以DTD或XML模式给出的节点的定义(只读)5Doctype 指定文档类型节点(只读)6documentElement 返回文档的根元素(可读写)7firstChild 返回当前节点的第一个子节点(只读)8Implementation 返回XMLDOMImplementation对 阅读全文
posted @ 2011-06-24 15:40 狼-志 阅读(14798) 评论(2) 推荐(2)