HTML Event Bindings
HTML Event Bindings
onsubmit="alert('Form submit');return false;">
- onblur:
size="40" onblur="alert('Lost focus');" />
- onclick:
onclick="alert('Button click');" />
- onchange:
size="40" onchange="alert('Changed');" />
- ondblclick:
ondblclick="alert('Button double-clicked');" />
- onfocus:
onfocus="alert('Gained focus');" />
- onkeydown:
onkeydown="alert('Key down');" />
- onkeypress:
- onkeyup:
onkeyup="alert('Key up');" />
- onload: An alert was shown when the document loaded.
- onmousedown:
- onmousemove: Move mouse over this
- onmouseout: Position mouse
here and then away.
- onmouseover: Position mouse over this
- onmouseup:
onmouseup="alert('Mouse up');" />
- onreset:
- onselect:
onselect="alert('selected');" />
- onsubmit:
- onunload: Try to leave document by following this
HTML事件绑定:探索前端交互细节
1187

被折叠的 条评论
为什么被折叠?



