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

  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • 저장소 파일 불러올 때 권한 요청 설정
  • 리액트 네이티브 DB 선택 고민할 때 sqlite 쓰지 마세요. (API 30 오류 및 임시 해결방법 포함)
  • 포토샵 CS3가 실행중이면 ESC 키가 작동하지 않는 버그 고치기
  • JS-setTimeout() , clearTimeout()
  • 안드로이드 스튜디오로 만들 때 타이틀바 없애기
  • 게시판 플러그인 KBoard 설치법 및 사용법
  • SQL Server 에이전트(에이전트 XPs 사용 안 함) 작동 시키기
  • `value` prop on `input` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.
  • php 문자열에서 숫자만 치환 (정규식 포함)

comment

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