Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 톰켓
- Eclipse
- 티스토리 초대
- jsp
- udp
- UIWebView
- 인코딩
- Android
- 한글
- C#
- Tomcat
- Objective C
- ios
- 메모리
- iphone
- 티스토리 초대장
- encoding
- spring
- Database
- Memory
- HTML
- permgen space
- ipad
- XML
- WebView
- JavaScript
- MySQL
- java
- jQuery
- 이클립스
Archives
- Today
- Total
목록Enter (1)
suroMind
[JavaScript]jquery dialog enter 누를시 닫히는 현상
출처 : http://codingrecipes.com/jquery-ui-dialog-and-the-enter-return-key-problem http://blog.naver.com/PostView.nhn?blogId=lcoguss&logNo=199048137 jquery dialog로 창을 띄워놓고html의 input 에서 문자 입력 후에 enter를 누를 시 dialog가 닫혀버리는 현상이 있다. 아래처럼 keyCode가 13일때 아무런 처리를 하지 않으면 된다. $('.dialog').find('input').keypress(function(e) { if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { //$(this).parent..
IT분야/Javascript
2013. 12. 15. 15:19