摘要:
闭包(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 阅读全文
posted @ 2012-06-29 15:20
walleyekneel
阅读(289)
评论(1)
推荐(0)
摘要:
中文版正常是:select * from table1 where field1 like '%王%'英文版要加上N:select * from table1 where field1 like N'%王%' 阅读全文
posted @ 2012-06-29 11:37
walleyekneel
阅读(486)
评论(0)
推荐(0)

浙公网安备 33010602011771号