0
를 클릭 할 때에 이미지 추가 : CodePen는 내가 원하는 입력
function readImage(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function(e) {
$('.cert img').attr('src', e.target.result);
$('.cert label').css('opacity', '0');
}
reader.readAsDataURL(input.files[0]);
}
}
CodePen 프로젝트에서 jQuery를로드하지 않으십니까? JS 설정 패널로 가서 빠르게 추가하고 다시 시도하십시오. –
지금 추가했습니다. –
부트 스트랩을 추가했습니다. –