목록 취득 중 '조회 중'표시

main
유지인 2025-12-17 15:52:36 +09:00
parent c68b10a1f3
commit a638db7d58
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@
true); true);
xhr.setRequestHeader('Content-type', 'application/json'); xhr.setRequestHeader('Content-type', 'application/json');
var dataListEle = document.getElementById('data-list');
dataListEle.innerHTML = '<tr><td colspan="11">조회중입니다...</td></tr>';
xhr.onreadystatechange = function() { xhr.onreadystatechange = function() {
if (xhr.readyState === 4 && xhr.status === 200) { if (xhr.readyState === 4 && xhr.status === 200) {
// 요청 성공 시 처리 // 요청 성공 시 처리