lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Javascript, jQuery 2015‧01‧26

    jQuery - Ajax로 데이터 불러오기

    외부 데이터를 불러올 때 Ajax를 통해서 가져오는 경우가 많다. Ajax를 통해서 Json 형식의 파일을 불러오는 예제를 만들면 아래와 같다. $.ajax({ type: "GET", url: "파일경로및 파일명", dataType: "json", cache: false, success: function(data){ $.each(data.dataList,function(index){ $('li').eq(index).html(data.dataList[index].val); }); },error: function(XMLHttpRequest, textStatus, errorThrown) { console.log("Status: " + textStatus); },timeout: 3000 });  설명하자면 timeout 에 3000을 입력해둔 것은 외부 데이터를 불러오는 […]

popular

  • Angularjs – 지정 엘리먼트 안에 자기만의 함수 호출을 가진 새로운 엘리먼트 생성하기
  • 저장소 파일 불러올 때 권한 요청 설정
  • StatusBar 잘못 다루면 아예 사라짐.
  • [회고] Synthetics Canary 런타임 버전 오류
  • 디자이너들에게 추천하는 크롬 브라우저 앱기능
  • react native - Swipeable 의 속성과 메소드들
  • 한글이 깨질 경우
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • 페이스북 공유시 나오는 정보 수정 방법
  • 창 크기 변경/조절 될 때마다 반응 액션

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....