<input type="button" value="hi">
버튼 만들고 싶을 때 input type="button"
<input type="text" onchange="alert('changed')">
텍스트가 바뀌면 경고창이 뜨도록한다.
검색이 중요하다고 생각하심.
javascript onkeydown event attribute 구글에서 검색
<input type="text" onkeydown="alert('key down!')">
댓글