-
HTML 표의 데이터를 서버로 POST
IT창고/HTML 2023. 2. 13. 17:48반응형javascript
$.ajax({ type: "POST", url: "YOUR_URL", data: { tableData: JSON.stringify($("#Table").tableToJSON()) }, success: function(response) { console.log(response); } });
반응형
javascript
$.ajax({
type: "POST",
url: "YOUR_URL",
data: {
tableData: JSON.stringify($("#Table").tableToJSON())
},
success: function(response) {
console.log(response);
}
});