비동기
-
Ajax( Asynchronous JavaScript and XML / XMLHttpRequest )Front/js 2024. 7. 9. 17:23
▤ 목차" data-ke-type="html">HTML 삽입미리보기할 수 없는 소스 더보기아래 정리는 해당 코드를 기반으로 진행한다. [ html파일 ] Ajax test Ajax원리를 찾아서 CSV 읽기 xml 읽기 json 읽기 각각의 txt,xml .. 등 파일은 따로 만들고 진행한다. ✔ Ajax ( Asynchronous JavaScript and XML )웹서버와의 통신을 비동기로 할때 사용한다.네트워크상 값이 언제 넘어올지 모르기때문에 비동기 상태로 받아야한다. 이름 그대로 JavaScript와 xml파일을 이용하는 비동기 방식을 말한다.서버와 브라우저가 비동기 방식으로 데이터를 교환할 수 있도록 해준다.최근에는 Json 파일 형식을 주로 사용한다.xml 파일보다 Json파일을..