- 博客(2)
- 收藏
- 关注
原创 点击Enter登录
这是页面的代码 这是js中进行控制 /** * 点击Enter进行事件提交 */ function keyDown(event){ var e = event || window.event || arguments.callee.caller.arguments[0]; if(e && e.keyCode==
2016-07-07 14:47:00 655
原创 each,ajax基本用法
1、选择器+遍历 $('div').each(function (i){ i就是索引值 this 表示获取遍历每一个dom对象 }); 2、选择器+遍历 $('div').each(function (index,domEle){ index就是索引值 domEle 表示获取遍历每一个dom对象 }); 3、更适用的遍历方法 1)先获取某个集合对象 2)遍历集合对象...
2016-07-07 14:41:27 1457
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人