摘要: 转载地址:http://www.2cto.com/kf/201211/170227.html判断是pc还是移动设备true:pcfunction IsPC(){ var userAgentInfo = navigator.userAgent; var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"); var flag = true; for (var v 阅读全文
posted @ 2013-01-14 18:13 双面煎蛋 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 使用jquery简单实现分页,功能很简单,可以自己扩展在jsp页面调用(只要数据类型是array、list、json类型都可以的): <link href="${contextPath }/css/paging.css" rel="stylesheet" type="text/css"> <script language="javascript" type="text/javascript" src="${contextPath }/js/jquery.js" 阅读全文
posted @ 2013-01-14 16:04 双面煎蛋 阅读(8313) 评论(2) 推荐(0) 编辑