event.isDefaultPrevented()
event.isDefaultPrevented()
설명 : 이 이벤트 객체에서 event.preventDefault () 가 호출 되었는지 여부를 반환합니다 .
예:
event.preventDefault ()가 불려 갔는지 여부를 확인합니다.
$( "a" ).click(function( event ) {
alert( event.isDefaultPrevented() ); // false
event.preventDefault();
alert( event.isDefaultPrevented() ); // true
});
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4946 | node.js | 6년 전 | 2620 | ||
| 4945 | node.js | 6년 전 | 2392 | ||
| 4944 | node.js | 6년 전 | 2529 | ||
| 4943 | node.js | 6년 전 | 2282 | ||
| 4942 | node.js | 6년 전 | 2263 | ||
| 4941 | node.js | 6년 전 | 2728 | ||
| 4940 | node.js | 6년 전 | 1874 | ||
| 4939 | node.js | 6년 전 | 2003 | ||
| 4938 | node.js | 6년 전 | 2464 | ||
| 4937 | node.js | 6년 전 | 2259 | ||
| 4936 | node.js | 6년 전 | 2329 | ||
| 4935 | node.js | 6년 전 | 2146 | ||
| 4934 | node.js | 6년 전 | 2455 | ||
| 4933 | node.js | 6년 전 | 2258 | ||
| 4932 | node.js | 6년 전 | 2695 | ||
| 4931 | node.js | 6년 전 | 2080 | ||
| 4930 | node.js | 6년 전 | 2008 | ||
| 4929 | node.js | 6년 전 | 8644 | ||
| 4928 | node.js | 6년 전 | 3761 | ||
| 4927 | node.js | 6년 전 | 2402 | ||
| 4926 | node.js | 6년 전 | 2512 | ||
| 4925 | node.js | 6년 전 | 2097 | ||
| 4924 | node.js | 6년 전 | 3383 | ||
| 4923 | node.js | 6년 전 | 2235 | ||
| 4922 | node.js | 6년 전 | 2001 | ||
| 4921 | node.js | 6년 전 | 2053 | ||
| 4920 | node.js | 6년 전 | 1775 | ||
| 4919 | node.js | 6년 전 | 2046 | ||
| 4918 | node.js | 6년 전 | 2188 | ||
| 4917 | node.js | 6년 전 | 2406 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기