jQuery常见事件

本文记录WEB前端学习过程中遇到的jQuery常见事件~

jQuery常见的事件有:

  • blur([data],fn):失去焦点;
  • change([[data],fn]):改变,例如select列表项改变;
  • click([[data],fn]):单击;
  • dbclick([[data],fn]):双击;
  • error([[data],fn]):页面加载错误;
  • focus([[data],fn]):获得焦点;
  • focusin([data],fn):细化获得焦点;
  • focusout([data],fn):细化获得焦点;
  • keydown([[data],fn]):键盘按下;
  • keypress([[data],fn]):键盘按;
  • keyup([[data],fn]):键盘弹起;
  • mousedown([[data],fn]):鼠标按下;
  • mouseenter([[data],fn]):细化鼠标按下;
  • mouseleave([[data],fn]):细化鼠标按下;
  • mousemove([[data],fn]):鼠标移动;
  • mouseout([[data],fn]):鼠标移出;
  • mouseover([data],fn):鼠标移入;
  • mouseup([[data],fn]):鼠标弹起;
  • resize([[data],fn]):改变窗口大小;
  • scroll([[data],fn]):滚动;
  • select([[data],fn]):选中;
  • submit([[data],fn]):提交;
  • unload([[data],fn]):页面关闭。

标签: none