바코드 스캔 jsp화면 오류 수정

dev
이범준 5 months ago
parent 41ae41105d
commit f63b883389

@ -38,7 +38,7 @@
document.getElementById('result2').value = ''; document.getElementById('result2').value = '';
console.log('change'); console.log('change');
submitBarcodeScan(); submitBarcodeScan();
}, {passive: true}) }, {passive: true});
document.querySelector("#btnBarcode").addEventListener('click', function () { document.querySelector("#btnBarcode").addEventListener('click', function () {
console.log('click'); console.log('click');
@ -48,9 +48,9 @@
} }
document.getElementById('result2').value = ''; document.getElementById('result2').value = '';
submitBarcodeScan(); submitBarcodeScan();
}, {passive: true}) }, {passive: true});
window.addEventListener('load', function () { $(document).ready(function () {
const sec9 = document.querySelector('#divImage'); const sec9 = document.querySelector('#divImage');
const uploadBox = sec9.querySelector('#img'); const uploadBox = sec9.querySelector('#img');
@ -127,7 +127,7 @@
} }
}); });
}); });
}, {passive: true}) });
function submitBarcodeScan(){ function submitBarcodeScan(){

Loading…
Cancel
Save