$.ajax({
type: "POST",
url:'https://candev.tistory.com/',
data: {year : $("#").val()},
dataType:"json",
success : function(data) {

}
});

 

가끔 잘 안넘어가고 작은 데이터 테스트용? 으로 사용합니다 

 

'php 잡다구리기술들 ' 카테고리의 다른 글

form 자바스크립트에서 submit  (0) 2019.09.20
ajax 데이터 셋팅법3 [outer json]  (0) 2019.09.20
ajax 데이터 셋팅법2 [form]  (0) 2019.09.20

+ Recent posts