摘要: 看一下运行的效果当用户名为a密码为b时运行正确当什么都不填时运行错误HomeController的代码: public ActionResult Index() { return View(); } [AcceptVerbs(HttpVerbs.Get)] public JsonResult JuBushuaxin(string name, string pass) { if (name != "a" || pass != "b") { ... 阅读全文
posted @ 2012-10-24 22:57 win_and_first 阅读(847) 评论(0) 推荐(0)
摘要: 1、利用location进行跳转 <script language="javascript" type="text/javascript"> window.location.href="XXX.asp?"+参数; </script>2、返回跳转 <script language="javascript"> alert("返回"); window.history.back(-1); </script>3、navigate跳转 <script l 阅读全文
posted @ 2012-10-24 09:23 win_and_first 阅读(788) 评论(0) 推荐(0)