jquery,如何用$.ajax向 后台传值

2024-12-18 17:38:09
推荐回答(1个)
回答1:

$.ajax({
type: "POST",
url: "test.do",//你后台请求URL地址
data: "score="+score,
success: function(msg){
alert( msg );
}
});