JavaScript

input상자에서 글입력후 엔터를 쳤을때 명령 실행
  • 조회수 11,644
  • 작성일 2008-09-02
  •  
 onKeyPress="javascript:if(event.keyCode == 13) { form.submit() }"