0
는 내가 다른 기능JQuery와 기능 문제
는 내가 다른 기능JQuery와 기능 문제
,
...
success: function(data) {
howToPost(data.recordID); //or whatever
}
....
에 희망이 도움이됩니다.
$.ajax({
type: "POST", url: '/file/to/post.to.php' , data: {recordID:recordID}, success: function(data) {
alert(recordID)
}
});
그 일을 하는가에 아약스의 성공과 이후의 응답을 얻을 수있는 방법이 기능 때문에
function onclickRowRecord(recordID) {
$.ajax({
type: "POST",
url: '/file/to/post.to.php' ,
data: {recordID:recordID},
success: function(data) {
//how to post this to function howToPost(recordID) the recordID
}
});
}
function howToPost(recordID){
alert(recordID);
}
있나요? 일종의 새로운 jQuery를
다음은 hotToPost 함수를 호출 의미 포스트 경우
성공 블록 내에서 전화를 걸려고했다고 가정합니다 (예 : function (data) {howToPost (data);}). – Zachary