Ajax成功方法上下文

function createSuccess(context) {
   $get(“result”).innerHTML = context.get_data();
}

<% using (Ajax.BeginForm(new AjaxOptions {OnSuccess="createSuccess"}))
{%>

What does context holds in the createsuccess method? data return by controller? How do we return json data in the createsucess if so

查看全部
weixin_33749242
weixin_33749242
2010/06/09 05:53
  • asp.net
  • ajax
  • 点赞
  • 收藏
  • 回答
    私信

1个回复