it-day
JQuery Ajax
별지킴Lee
2023. 10. 2. 17:17
Method = GET
$.ajax({
url : "boardList.do",
type : "get",
dataType : "json",
success : makeView,
error : function() { alert("error"); }
});
Method = POST
$.ajax({
url : "boardInsert.do",
type : "post",
data : fData,
success : loadList,
error : function() { alert("error"); }
});