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

  • Gillette Pop-up Store
  • lambda 함수에서 cloudWatch 로그 안보내기
  • 카테고리에 따른 사이드바 위젯 다르게 보이기
  • refers to a value, but is being used as a type here. Did you mean 'typeof'
  • php - 글자 수 가져오기 strlen
  • 이미지에 여백이 생길 때 해결 방법들
  • aws lightsail mysql died - /opt/bitnami/mysql/scripts/ctl.sh : mysql  could not be started
  • react native - 설치된 자바 버전에 따른 오류
  • JS - 필수 입력칸에 미입력시 안내글 수정
  • 워드프레스 설치 방법

comment

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