12 2011 档案
摘要:代码,关于操作XML可以参考 SQL操作XMLxml中的特殊字符http://www.cnblogs.com/jacklee1981/archive/2011/01/24/1943175.htmlselect * from TestCreate table Test( Id int identity primary key, UserName varchar(20) default '', Age int default 0)declare @xmlText varcha...
阅读全文
摘要:1 当有大量元素需要注册事件的时候可以用事件委托实现测试代码function init() { var d = document.getElementById("test"); d.appendChild(createUl()); console.profile("f1"); f1(); console.profileEnd("f1"); console.profile("f2"); f2(d); console.pro...
阅读全文
摘要:1 一个XMLHttpRequest简单封装DEMO,详细参考http://www.w3school.com.cn/xmldom/dom_http.aspvar ajax = { request: null, options: { method: "", url: "", asyn: null, dataType: "", success: function(obj) { }, ...
阅读全文
浙公网安备 33010602011771号