bPopup 간단한 팝업 컨트롤
- http://dinbror.dk/bpopup/, - http://annotations.tistory.com/55 아래 내용을 javascript 라이브러리에 넣는다var jsonpDom, jsonpData;function callJsonp(u1,d1){ $.ajax({ type: 'POST', cache:false, // false 캐시 되지 않아야 할 때 dataType : 'jsonp', // jsonp, https:// 와 섞어 써서 보안성 제고 jsonp : 'callback', // jsonp 명칭을 callback 으로 하거나 다른 명칭도 상관없음 url : u1, data : d1, // 전달할 데이타. 기본이 UTF-8 이므로 한글 세팅에 항상 유의 success : function(d..
[모음글] jQuery ajax
$.ajax({ url : '...', // 변수를 이용해서 url 설정 가능, Math.random() 를 파라미터로 넣어줌으로써 캐시 제거 가능 global : false, // Default true, 또는 생략 type : 'post', // 또는 get cache : false, // Default true, 캐시를 사용하지 않으려면 false 요망 data : {curData:curDate, to_date2:to_date2}, // JSon 스타일 //data : 'curData='+curDate+'&to_date2='+to_date2', // String 스타일. $('form').serialize() 코드는 간단하지만.. dataType : 'stirng', // json jsonp xml..