function aa() {
$.ajax({
type: 'post',
url: 'WebForm1.aspx.cs',
data: 'string',
dataType: 'text',
async: false,
success: function(msg)
用什么方式把后台的值赋到msg中啊!
url指向的是WebForm1.aspx.cs下的方法名嘛?假设是aa方法,应该怎么写啊,小弟是才学ajax有点不太懂
追答下面的方面名, 你总得告诉他是哪个方法名吧。 你这样写容易出错的。 我那是标准学法。
本回答被提问者采纳