简介 目录 评价 推荐
  • 前端沙雕 2018-01-28
    获取自定义的属性必须用getAttribute
    截图
    0赞 · 0采集
  • 慕粉3276784 2016-09-12
    var index = el.getAttribute('input'); var input tr[index].getElementsByTagName('input')[0]; input .checked = false;
    0赞 · 0采集
  • 无心水2012 2015-07-29
    逻辑或||运算符 1.只要||前面是假的,取||后面的值, 2.如果是真的,直接取||前面的值,不考虑||后面的值
    截图
    0赞 · 1采集
  • 无心水2012 2015-07-29
    1.Windows IE的事件对象window.event 2.逻辑或||运算符
    截图
    0赞 · 1采集
  • 无心水2012 2015-07-29
    //getTotal();不能解决全选的问题,使用onclick事件 input.onclick();
    0赞 · 0采集
  • 无心水2012 2015-07-29
    1.通过事件代理,使用 srcElement:span 2.获取自定义的属性,el.getAttribute();
    截图
    0赞 · 1采集
  • 无心水2012 2015-07-29
    事件对象作为第一个参数,传进来
    截图
    0赞 · 1采集
  • cheneyer 2014-11-29
    window.event
    截图
    0赞 · 0采集
  • cheneyer 2014-11-29
    .getAttribute('index')取得自定义属性
    0赞 · 1采集
  • cheneyer 2014-11-29
    .getAttribute('index')
    截图
    1赞 · 1采集
  • JackChow 2014-10-30
    逻辑或替代if的巧妙用法
    截图
    0赞 · 0采集
数据加载中...
开始学习 免费