摘要: 1.预加载图片 (function($) { var cache = []; // Arguments are image paths relative to the current page. $.preLoadImages = function() { var args_len = arguments.length; for (var i = args_len;... 阅读全文
posted @ 2017-01-17 23:14 sj2016 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 在Asp.net MVC 3 web应用程序中,我们会用到ViewData与ViewBag,对比一下: 在Controller中使用ViewData: public ActionResult UsingViewData() { ViewData["Title"] = " Using ViewData"; ViewData["ProjectName"] = ... 阅读全文
posted @ 2017-01-17 10:22 sj2016 阅读(148) 评论(0) 推荐(0) 编辑