分类: HTML 参考手册
HTML onclick 事件属性
当单击鼠标时运行脚本: 实例 Run this code » <b…
HTML onkeyup 事件属性
当松开按键时运行脚本: 实例 Run this code » <i…
HTML onkeypress 事件属性
当按下按键时运行脚本: 实例 Run this code » <i…
HTML onkeydown 事件属性
当按下按键时运行脚本: 实例 Run this code » <i…
HTML onsubmit 事件属性
当提交表单时运行脚本: 实例 Run this code » <f…
HTML onselect 事件属性
当选取<input>元素中的文本后执行 JavaScript…
HTML onfocus 事件属性
当输入域获得焦点时运行脚本: 实例 Run this code » &l…
HTML onchange 事件属性
当元素改变时运行脚本: 实例 Run this code » <i…
HTML onblur 事件属性
当用户离开输入域时进行验证: 实例 Run this code » &l…
HTML onunload 事件属性
当用户关闭一个页面时执行 JavaScript: 实例 Run this…