[HttpPost]
public ActionResult tijiao(string id,string name,string pwd)
{
return Content(JsHistoryBack( "你填错了!"));
}
public static string JsHistoryBack(string str)
{
string jsC = @"<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8""><script language=""javascript"">";
jsC += @"alert(""" + str + @""");";
jsC += @"history.go(-1)</";
jsC += @"script>";
return jsC;
}
public ActionResult tijiao(string id,string name,string pwd)
{
return Content(JsHistoryBack( "你填错了!"));
}
public static string JsHistoryBack(string str)
{
string jsC = @"<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8""><script language=""javascript"">";
jsC += @"alert(""" + str + @""");";
jsC += @"history.go(-1)</";
jsC += @"script>";
return jsC;
}