바트심슨으로 하루만 살고 싶다
Ajax (비동기 자바스크립트) - 응답결과를 자바 스크립트로 처리할 수 있도록 설정된 방식 결과를 브라우저가 아닌 화면 변경없이 서버와 통신을 하며, 화면의 일부분만을 변경한다. (좋아요 같은 방식에서 사용) ajax의 기본 형식 $.ajax({ accepts: { mycustomtype: 'application/x-some-custom-type' }, // Instructions for how to deserialize a `mycustomtype` converters: { 'text mycustomtype': function(result) { // Do Stuff return newresult; } }, // Expect a `mycustomtype` back from server dataType:..
JavaScript
2023. 2. 22. 22:49