随笔分类 -  Js

摘要:样式#spynav.affix { top: 2px;}.affix { position: fixed;} 阅读全文
posted @ 2015-10-10 11:43 草旅虫 阅读(705) 评论(0) 推荐(0)
摘要:function GetQueryString(name){var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");var r = window.location.search.substr(1).match(reg);if(r!=null)retu... 阅读全文
posted @ 2015-08-27 00:06 草旅虫 阅读(159) 评论(0) 推荐(0)
摘要:Hello, World 阅读全文
posted @ 2015-08-14 09:52 草旅虫 阅读(347) 评论(0) 推荐(0)
摘要:1.json对象的写法var obj = {}; obj.SystemCode = code; obj.pageIndex = pageIndex;$.post(url, obj,function (result) { ); });传给后台的j... 阅读全文
posted @ 2015-06-30 22:40 草旅虫 阅读(125) 评论(0) 推荐(0)