随笔分类 - javascript
摘要:采用javascript访问服务器上的文件,文件存在则打开文件,不存在返回不存在 控制器: [HttpPost]public ActionResult CheckFileExists(string aFile){ // 检查文件是否存在 string filePath = Server.MapPat
阅读全文
摘要:<td>@Html.ActionLink("编辑", "Edit", new { id = 1 }) <text> |</text> @Html.ActionLink("删除", "Delete", new { id = 2 })<text> |</text><a href="javascript:
阅读全文