asp.net mvc ajax
$("#formJq").ajaxSubmit({
url: "/aa/bb",
success: function (data) {
alert("提交成功!");
}
controller:
public void bb(){
怎么写啊
}
------解决方案--------------------public void bb(){
//想怎么写怎么写
Response.ContentType = "text/html";
Response.Write("熊猫发光");
}
------解决方案--------------------网上找找例子,到处都是
http://blog.csdn.net/drworm/article/details/5426842
------解决方案--------------------