常用js代码大全方案.docVIP

  • 4
  • 0
  • 约8.73万字
  • 约 96页
  • 2017-01-03 发布于湖北
  • 举报
?常用JS代码大全 事件源对象? event.srcElement.tagName? event.srcElement.type 捕获释放? event.srcElement.setCapture();?? event.srcElement.releaseCapture();?? 事件按键? event.keyCode? event.shiftKey? event.altKey? event.ctrlKey 事件返回值? event.returnValue 鼠标位置? event.x? event.y 窗体活动元素? document.activeElement 绑定事件? document.captureEvents(Event.KEYDOWN); 访问窗体元素? document.all(txt).focus();? document.all(txt).select(); 窗体命令? document.execCommand 窗体COOKIE? document.cookie 菜单事件? document.oncontextmenu 创建元素? document.createElement(SPAN);?? 根据鼠标获得元素:? document.elementFromPoint(event.x,event.y).tagName==TD? documen

文档评论(0)

1亿VIP精品文档

相关文档