- Window Events Only valid in body and frameset elements. -
onload script Script to be run when a document loads
onunload script Script to be run when a document unloads
- Form Element Events Only valid in form elements -
onchange script Script to be run when the element changes
onsubmit script Script to be run when the form is submitted
onreset script Script to be run when the form is reset
onselect script Script to be run when the element is selected
onblur script Script to be run when the element loses focus
onfocus script Script to be run when the element gets focus
- Keyboard Events Not valid in br, frame, frameset, head, html, iframe, meta, param, script, style, and title elements. -
onkeydown script What to do when key is pressed
onkeypress script What to do when key is pressed and released
onkeyup script What to do when key is released
- Mouse Events Not valid in br, frame, frameset, head, html, iframe, meta, param, script, style, and title elements. -
onclick script What to do on a mouse click
ondblclick script What to do on a mouse double-click
onmousedown script What to do when mouse button is pressed
onmousemove script What to do when mouse pointer moves
onmouseout script What to do when mouse pointer moves out of an element
onmouseover script What to do when mouse pointer moves over an element
onmouseup script What to do when mouse button is released
'Devlopment > Web' 카테고리의 다른 글
class vs. id (0) | 2008.06.25 |
---|---|
id selector & Selectors can be contextual (0) | 2008.06.25 |
Grouping & Add Styles to Elements with Particular Attributes (0) | 2008.06.25 |
Pseudo-Class Selector & CSS 글꼴 꾸밈관련 스타일 (0) | 2008.06.25 |
css link (0) | 2008.06.25 |
주민등록번호 검사 (0) | 2008.06.25 |
Core & Keyboard Attribute (0) | 2008.06.25 |
META 태그 (0) | 2008.06.25 |
DB Programing (0) | 2008.06.25 |
세션 및 GET, POST 받기 (0) | 2008.06.25 |