摘要:
闭包(closure) 先来看一个实例,javascript代码:[javascript] view plaincopyprint?<scripttype="text/javascript">functionnewLoad(){//新建页面加载的事件 for(vari=1;i<=3;i++){varanchor=document.getElementById("anchor"+i);//找到每个anchor anchor.onclick=function(){//为anchor添加单击事件 alert("youclickeda 阅读全文
摘要:
中文版正常是:select * from table1 where field1 like '%王%'英文版要加上N:select * from table1 where field1 like N'%王%' 阅读全文