[자바스크립트 js / 실무 기록] appendChild, setAttribute 실무 / ajax 실무
function detail_view(e){ $.ajax({ type:"GET", url: ``, dataType:"json", async : true, status : 0, beforeSend : function(xhr){ //xhr.setRequestHeader("Access-Control-Allow-Origin", "*"); xhr.setRequestHeader("Content-Type", "text/html"); //mask.open(lodingMsg); mask.open({ content: ' 로딩중' }); }, success : function(data, status, xhr) { mask.close(); console.log('유야호~!', data); $('.challNO').text(d..