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

  • 자바스크립트 새창 뛰우기 옵션과 방법
  • aws lightsail mysql died - /opt/bitnami/mysql/scripts/ctl.sh : mysql  could not be started
  • werty wordpress blog build
  • OMG 케릭터 아이폰 배경화면
  • 관리자 페이지 중 위젯에서 드래그 & 드롭이 안되는 현상
  • Photoshop - [폰트 캐쉬 삭제] 삭제한 폰트도 계속 리스트에 존재할 때
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • Gillette Pop-up Store
  • xcode build failed - module map file '/Users/...생략 .../Build/Products/Debug-iphoneos/YogaKit/YogaKit.modulemap' not found
  • MSSQL - 테이블 안의 컬럼 추가/삭제

comment

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