0
我將根據發佈的數據獲取此對象。用戶在數據中選擇不同的過濾器。當用戶選擇不同的過濾器時,我想更新postThis Object並使用更新後的對象再次進行Ajax調用。成功更新數據後再次進行ajax POST調用
var postThis = {
"name": ''
}
$.ajax({
method:post,
url:someurl,
data: postThis
})
.success(function(data) {
// name has to be updated with value which I get after user chooses it
})