铃铛矢量图:Ajax小例

来源:百度文库 编辑:九乡新闻网 时间:2024/05/04 06:25:14

   
  
  

  

    public ActionResult Te()
  {
   string message = Request["Name"] + Request["Age"];   return Json(new { message="成功",Age="23"});    //return View("About");  ajax调用方法后不会实现跳转,需要返回信息给callback函数然后再判断是否跳转 }