任何人都可以帮助我为这种情况创建一个ajax请求吗?如果我点击确定ID,我想要。我只是想更新它的内容并存储在数据库中。希望有人在这帮助我。谢谢。
查看文件:
Math.Max(p, q)
答案 0 :(得分:0)
你可以通过这个
来做到这一点$.ajax({
url: "data.php",//file wich has query select to db table
data: {id:theid},//describe your data here
dataType: 'json',// type of data that will you get (JSON/HTML).
type: 'POST',//sending type (POST/GET)
success: function(data) {
//do change the select option
}
});
古德勒克!