ajax json 방식으로 호출 시 response 간단히 작성하기
ajax 사용 시 json 방식으로 호출할 때, php 페이지에서 response를 해줘야 에러 없이 정상 사용이 가능. js 페이지 -- $.ajax({ type: 'post', cache: false, url: '/ajax.shareware.php', dataType: 'json', data: params, success:function(data) { if(data) { alert('정상적으로 발송 되었습니다.'); //Form 초기화 $("#estiFrm_shareware")[0].reset(); } }, error:function(request,status,error){ alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+..