日期:2014-05-16 浏览次数:20624 次
function gomaketo(imgId, url) { $.ajax({ //调用jquery的ajax方法 type: "POST", //设置ajax方法提交数据的形式 url: "a.aspx", data: "imgSrc=" + url + "&backImgId=" + imgId, dataType: 'text', success: function (msg) { //提交成功后的回调 } }) }
public string imgSrc = DNTRequest.GetString("imgSrc"); public string backImgId = DNTRequest.GetString("backImgId");