摘要: 常见的合并数组方法:concat();a=[1,2,3,4,5,6]b=["foo","bar","bam","bun","fun"]var c=a.concat(b); 输出结果:c=[1,2,3,4,5,6,"foo","bar","bam","bun","fun"] 阅读全文
posted @ 2017-07-18 10:45 小周同学 阅读(338) 评论(0) 推荐(0) 编辑
摘要: ①$(document).ready(function(){ $("button").bind({ click:function(){$("p").slideToggle()}, mouseover:function(){$("body").css("background-color","red") 阅读全文
posted @ 2017-07-10 09:17 小周同学 阅读(1889) 评论(0) 推荐(0) 编辑
摘要: 首先确认由于什么原因导致问题? 如果在项目中使用了bootstrap框架,导致IE>=10浏览器右侧滚动条,在页面静止时隐藏或在查看时滚动条会遮盖部分页面内容? 如下图: 推荐一种处理方式: 打开项目,找到项目引用的bootstrap框架的公共bootstrap.css或bootstrap.min. 阅读全文
posted @ 2017-05-18 15:23 小周同学 阅读(879) 评论(0) 推荐(0) 编辑
摘要: css判断不同分辨率显示不同宽度布局实现自适应宽度&css3 @media样式的使用 http://blog.csdn.net/capmiachael/article/details/52797309 阅读全文
posted @ 2017-03-01 15:44 小周同学 阅读(1461) 评论(0) 推荐(0) 编辑
摘要: 使用JDOM解析XML http://www.cnblogs.com/xiaxinggege/archive/2012/06/08/2541891.html 阅读全文
posted @ 2017-02-13 10:15 小周同学 阅读(97) 评论(0) 推荐(0) 编辑
摘要: javaScript如何实现继承 详见:http://blog.csdn.net/fuxiaohui/article/details/44910765 阅读全文
posted @ 2017-02-08 17:31 小周同学 阅读(216) 评论(0) 推荐(0) 编辑
摘要: <meta http-equiv="X-UA-Compatible" content="IE=edge" />了解 详细:http://blog.csdn.net/www3300300/article/details/12992489 阅读全文
posted @ 2017-02-08 11:52 小周同学 阅读(106) 评论(0) 推荐(0) 编辑
摘要: AJAX异步详解 详情了解:http://www.cnblogs.com/chris-oil/p/4396948.html 阅读全文
posted @ 2017-02-08 09:59 小周同学 阅读(131) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> //查找字符串中出现最多的字符和出现的次数 var str = 'Thatwheneying its on security.'; function find(str) { var max = 0, c; while(str) { va 阅读全文
posted @ 2017-02-07 09:08 小周同学 阅读(502) 评论(0) 推荐(0) 编辑
摘要: css input[type=file] 样式美化,input上传按钮美化 参照:http://www.haorooms.com/post/css_input_uploadmh 阅读全文
posted @ 2017-02-04 16:15 小周同学 阅读(541) 评论(0) 推荐(0) 编辑