[jquery] left 메뉴 화면 깜빡임 방지 left 메뉴를 submit (a tag) 방식으로 구현을 하면 메뉴가 바뀔때마다 화면이 깜빡거려서 불편할때가 한두번이 아니다. 이럴때 간단하게 해결할수 있는 방법은 jquery load를 사용하는 것이다. * 기존 방식 테스트 * jquery load 적용 코드 // 1. html 코드 스캐너 // 2. 화면 전환 function getContents (content) { $("#app-container").load(content); } FrontEND/Jquery 2020.10.16
ajax error 코드 확인 ** ajax error 확인 error:function(request,status,error){ alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); } code : 200 이 출력 될때는 dataType 을 별도로 지정하지 않으면 된다. 확인할 수 없었다. ajax error code CodeDescription의 미100ContinueClient는 Request를 Server는 Response를 계속적으로 해야한다는 것101Switching ProtocolsClient의 요청에 따라 연결 프로토콜을 전환200OK에러 없이 전송 성공201CreatedPOST 명령 실행 및 성공202Accepted서.. FrontEND/Jquery 2017.11.30