摘要:
/[\?&]{1}_ajax[&\s]{1}|[\?&]{1}_ajax$/|代表或hidefocus="true" ie虚线问题 (IE67不支持)事件监听的时候通过传入变量来产生局部变量(JAVASCRIPT DOM高级编程 PAGE33),如下解释:var a=1; .click(function(){ alert(a); })a++; a如果不是传入进去的,变量作用域在外面,当上面的东东循环的时候会出问题.var a=1; .click(function(a){ //在包一层来产生临时变量 return function(){ }}(a))a 阅读全文
posted @ 2011-02-24 18:20
liushan
阅读(270)
评论(0)
推荐(0)
摘要:
/***修改JQ的键盘事件,使文本等标签也可以监听键盘事件,兼容:chrome Firefox 3.5 3.6 opera IE 6 7 8 (IE67有虚线)*@param{Object}Jquery*@authorLonely*/(function($){varno_ie_pr=function... 阅读全文
posted @ 2011-02-24 14:53
liushan
阅读(1001)
评论(0)
推荐(0)


浙公网安备 33010602011771号