jquery 이미지 엑박 또는 없을때 대체 이미지 처리
페이지 정보
조회
10,140
본문
<script>
$(document).ready(function() {
$('img').on("error", function () {
$(this).attr("src", "img/noimg.png");
});
});
</script>
관련자료
등록된 댓글이 없습니다.