08 2015 档案

摘要:checkedData.push(record); 直接在record 这个数组后面添加;var index =jQuery.inArray(record,checkedData);// 获取index 的位置checkedData.splice(index,1); // 从index位置删除1个$... 阅读全文
posted @ 2015-08-26 16:18 #料 阅读(362) 评论(0) 推荐(1)
摘要:官方例举的例子感觉和attr()差不多,也不知道有什么区别,既然有了prop()这个新方法,不可能没用吧,那什么时候该用attr(),什么时候该用prop()呢jquery1.6中新加了一个方法prop(),一直没用过它,官方解释只有一句话:获取在匹配的元素集中的第一个元素的属性值。大家都知道有的浏... 阅读全文
posted @ 2015-08-26 15:53 #料 阅读(127) 评论(0) 推荐(0)
摘要:try { //根据String形式创建一个URL对象 String filePath = materialProductWorks.getDownloadImageUrl(); URL url = new URL(filePath); //实列一个URLconnection... 阅读全文
posted @ 2015-08-17 16:44 #料 阅读(226) 评论(0) 推荐(0)
摘要:ServletContext context = request.getSession().getServletContext();WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationCont... 阅读全文
posted @ 2015-08-17 14:09 #料 阅读(1171) 评论(0) 推荐(0)