SEONG

  • home
  • guestbook
  • write
  • Java
  • jQuery
  • javascript
  • Spring
  • Web
  • Database
  • WAS
  • Network
  • Music
  • etc

When 1

[jQuery] when() 함수

jQuery.when(defrreds) : deferreds에 대한 처리 후 콜백처리 $.when($.ajax("test.aspx")).done(function(){alert("ajax 처리 후 실행");}) 동시에 2개의 ajax를 콜하고 모두 성공적으로 종료한 후에 무언가를 실행해야 할 경우var when1 = $.ajax("test1.aspx");var when2 = $.ajax("test2.aspx"); $.when(when1, when2).done(function(){alert("when1, when2 처리 후 실행");}); done(), then()의 차이done() : ajax가 성공일때 콜백함수 호출$.when($.ajax("test.aspx")).done(function(){alert(..

Programming/jQuery 2014.03.19
이전
1
다음
더보기
프로필사진

SEONG

  • Category
    • Programming
      • java
      • jQuery
      • javascript
      • Spring
      • Python
      • Web
      • DB
      • WAS
      • network
      • algorithm
      • etc
    • Music
    • News
      • IT
      • 경제/금융
      • 사회
    • Hobby/Life

Tag

jeus, spring json, algorithm, music, db, furious7 ost, fast and furious7, ajax post, Plies, AOP, rest api, WAS, web, spring, JavaScript, jQuery, Empire OST, ibatis, java, 알고리즘,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • SEONG IL-MAN

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바