<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[最族]]></title> 
<description><![CDATA[共筑梦想，拥抱未来！
Build a dream, embrace the future!]]></description>
<link>http://www.mostclan.com/</link>
<language>zh-cn</language>
<generator>www.emlog.net</generator>
<item>
	<title>基于PhantomJS的网站截图服务API设计与开发</title>
	<link>http://www.mostclan.com/post-329.html</link>
	<description><![CDATA[为公司某业务实现“服务端对网站截图”功能，搜罗了很多技术最终采用了PhantomJS无头浏览器技术。 什么是PhantomJS？  PhantomJS是一个基于webkit的javaScript API。它使用QtWebKit作为它核心浏览器的功能，使用webkit来编译解释执行javaScript代码。任何你可以基于在webkit浏览器做的事情，它都能做到。它不仅是个隐性的浏览器，提供了诸如css选择器、支持wen标准、DOM操作、json、HTML5等，同时也提供... <a href="http://www.mostclan.com/post-329.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Fri, 28 Feb 2020 05:40:55 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-329.html</guid>

</item>
<item>
	<title>关于on点击事件在IOS中失效的问题</title>
	<link>http://www.mostclan.com/post-320.html</link>
	<description><![CDATA[这个是关于使用 $(document).on(‘click‘,selector,function) 在移动端ios中使用on点击事件无效的解决办法 1.将selector元素增加样式cursor:pointer（全场最佳解决方案）   style 
.a{width:100px;height:100px;background:red}
.b{width:10px;height:10px;cursor:pointer}
 /sty... <a href="http://www.mostclan.com/post-320.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Sat, 20 Oct 2018 15:46:35 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-320.html</guid>

</item>
<item>
	<title>到底什么是前端工程化、模块化、组件化</title>
	<link>http://www.mostclan.com/post-316.html</link>
	<description><![CDATA[引言 提到前端往往很多人的映像就是入门简单,HTML、CSS加一起一个星期基本上就能大概上手,JS难一点但也能很快写一些简单的小效果,在网上随便一搜索各种特效代码随意用,一个新手前端也能在很短的时间里写出炫酷的页面效果,然而入门简单并不意味着前端这碗饭很好吃,做惯了切图、布局、扣特效的前端新同学在向前发展的路上越来越觉得吃力,而没有任何编程思想和软件开发基础很多人对前端工程化、组件化、模块化、MVC这些“高大上”的词汇云里雾里。 本文用最简单的语言介绍一下我对工程化、组件化、模块化的理解,面向的对象是前端新手,所以我用最好理解的方式去说,难免会有很多“幼稚”的表述,请大神们轻喷。 本文重点介绍思想不涉及过多直接的技术,如... <a href="http://www.mostclan.com/post-316.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Tue, 21 Aug 2018 14:39:57 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-316.html</guid>

</item>
<item>
	<title>Javascript实现在线预览图片方法</title>
	<link>http://www.mostclan.com/post-287.html</link>
	<description><![CDATA[!DOCTYPE html 
 html lang=en 
 head 
 meta charset=UTF-8 
 title 前端js在线预览 /title 
 /head 
 body 
 img src= alt= style=width:80px;height:100px  input type=file class=files 
 script typet=text/javascript src=http://libs.baidu.com/jquery/1.9.1/jquery.min.js&gt... <a href="http://www.mostclan.com/post-287.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Fri, 30 Mar 2018 08:29:05 +0000</pubDate>
	<author>Battle</author>
	<guid>http://www.mostclan.com/post-287.html</guid>

</item>
<item>
	<title>【原创】js实现页面重定向，增强移动端跳转体验（可自定上一页地址）</title>
	<link>http://www.mostclan.com/post-250.html</link>
	<description><![CDATA[（单页面应用可忽略） 我们知道js有个方法可以使用window.location.href=xxx..进行页面跳转，做移动前端的小伙伴肯定知道，这个方法虽然简单，但是也有很多问题： 示例情景： 某移动web项目需要实现在【列表页】点击【发布帖子】按钮进入【帖子发布页】，编辑完内容后按发帖按钮，这里有两种请求方法  1、直接post表单提交（页面会跳转到处理发布的页面） <a href="http://www.mostclan.com/post-250.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Fri, 24 Nov 2017 04:12:11 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-250.html</guid>

</item>
<item>
	<title>JS知识点：sort()方法的用法，参数以及排序原理</title>
	<link>http://www.mostclan.com/post-241.html</link>
	<description><![CDATA[sort() 方法用于对数组的元素进行排序,并返回数组。默认排序顺序是根据字符串Unicode码点。
语法：arrayObject.sort(sortby)；参数sortby可选。规定排序顺序。必须是函数。
注：如果调用该方法时没有使用参数，将按字母顺序对数组中的元素进行排序，说得更精确点，是按照字符编码的顺序进行排序。要实现这一点，首先应把数组的元素都转换成字符串（如有必要），以便进行比较。 如果想按照其他标准进行排序，就需要提供比较函数，该函数要比较两个值，然后返回一个用于说明这两个值的相对顺序的数字。比较函数应该具有两个参数 a 和 b，其返回值如下：
若 a 小于 b，在排序... <a href="http://www.mostclan.com/post-241.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Sat, 09 Sep 2017 04:17:51 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-241.html</guid>

</item>
<item>
	<title>jQuery 获取当前节点的html包含当前节点的方法</title>
	<link>http://www.mostclan.com/post-210.html</link>
	<description><![CDATA[在开发过程中，jQuery.html() 是获取当前节点下的html代码，并不包含当前节点本身的代码，然后我们有时候确需要，找遍jQuery api文档也没有任何方法可以拿到。 看到有的人通过parent().html()，如果当前元素没有兄弟元素还行，如果有那就行不通了。后台实验发现有一个jQuery的一个方法可以解决，而且非常简便，如下：  div class=test  p hello，你好！ /p  /div   script  $(.test).prop(outerHTML);  /script  ... <a href="http://www.mostclan.com/post-210.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p><p><a href="http://www.mostclan.com/post-79.html">document.body.scrollTop与document.documentElement.scrollTop兼容</a></p></div>]]></description>
	<pubDate>Mon, 15 May 2017 08:18:39 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-210.html</guid>

</item>
<item>
	<title>js动态添加数据(数组形式)</title>
	<link>http://www.mostclan.com/post-205.html</link>
	<description><![CDATA[div class=class group 1  class=row cl   label class=form-label col-xs-4 col-sm-2 组别1： /label   div class=formC... <a href="http://www.mostclan.com/post-205.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Fri, 21 Apr 2017 03:27:01 +0000</pubDate>
	<author>Battle</author>
	<guid>http://www.mostclan.com/post-205.html</guid>

</item>
<item>
	<title>百度判断手机终端并自动跳转js代码及使用实例</title>
	<link>http://www.mostclan.com/post-199.html</link>
	<description><![CDATA[百度目前为站长提供了判断手机终端类型并自动实现跳转的js脚本，极大的方便了广大站长及web开发人员。其js脚本的使用方法极其简单。  script src=http://siteapp.baidu.com/static/webappservice/uaredirect.js type=text/javascript  /script   script type=text/javascript uaredirect(手机站,WEB站); /script  其中最为核心的js脚本格式化代码如下所示： f... <a href="http://www.mostclan.com/post-199.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Thu, 13 Apr 2017 04:54:12 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-199.html</guid>

</item>
<item>
	<title>手机端常用的报错信息提示</title>
	<link>http://www.mostclan.com/post-163.html</link>
	<description><![CDATA[function msg_tit_common(e, t, r, n, a) { if (!a) { if (e) { $(. + t).html(e); $(. + t).show(); if (n) { error_msg_ani(t) } if (r) { $(body,html).animate({ scrollTop: 0 }, ... <a href="http://www.mostclan.com/post-163.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p><p><a href="http://www.mostclan.com/post-79.html">document.body.scrollTop与document.documentElement.scrollTop兼容</a></p></div>]]></description>
	<pubDate>Sat, 05 Nov 2016 07:30:58 +0000</pubDate>
	<author>Battle</author>
	<guid>http://www.mostclan.com/post-163.html</guid>

</item>
<item>
	<title>Javascript的bind</title>
	<link>http://www.mostclan.com/post-158.html</link>
	<description><![CDATA[bind主要是为了改变函数内部的this指向，这个是在ECMA5以后加入的，所以IE8一下的浏览器不支持 bind方法会创建一个新函数,称为绑定函数.当调用这个绑定函数时,绑定函数会以创建它时传入bind方法的第一个参数作为this,传入bind方法的第二个以及以后的参数加上绑定函数运行时本身的参数按照顺序作为原函数的参数来调用原函数 可以看这段实例： var logger = { x: 0,        updateCount: function(){ this.x++; console.log(this.x); ... <a href="http://www.mostclan.com/post-158.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Fri, 14 Oct 2016 17:20:23 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-158.html</guid>

</item>
<item>
	<title>99% 的网站都“被中招” - 有史以来最被低估的漏洞</title>
	<link>http://www.mostclan.com/post-156.html</link>
	<description><![CDATA[作者：洋葱猴 链接：https://zhuanlan.zhihu.com/p/22231471 来源：知乎 著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。 国外网友近日曝出大部分网站都忽视了的安全漏洞，包括 Facebook，Twitter 等网站都被检测出带有 The target=_blank 漏洞，据查该漏洞很早就被提交出来但一直被“忽视”，这可能是有史以来最被低估的漏洞。 你可以点击 这个 Demo 测试该安全问题：带有 target=_blank 跳转的网页拥有了浏览器 window.opener 对象赋予的对原网页的跳转权限，这可能会被恶意网站利用，例如一个恶意网站在某... <a href="http://www.mostclan.com/post-156.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Thu, 15 Sep 2016 16:34:05 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-156.html</guid>

</item>
<item>
	<title>解决jQuery调用resizable方法没有效果</title>
	<link>http://www.mostclan.com/post-154.html</link>
	<description><![CDATA[$(#save_part).html(data); // 先删除上次添加的ui-resizable-handle $( #cancel_part .ui-resizable-handle ).remove(); $(#cancel_part).resizable({maxHeight:546,maxWidth:784}); <a href="http://www.mostclan.com/post-154.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Tue, 23 Aug 2016 03:37:44 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-154.html</guid>

</item>
<item>
	<title>结合jQuery.lazyload和masonry实现瀑布流</title>
	<link>http://www.mostclan.com/post-146.html</link>
	<description><![CDATA[结合jQuery.lazyload和masonry实现瀑布流 这里主要是使用jQuery.lazyload配合masonry实现瀑布流的重新排列，有时候网站的速度慢，图片加载慢，获取不到图片的 宽度和高度，所以使用lazyload可以在图片加载完之后，进行瀑布流的重新排列。 实现方法如下： /** * 自动刷新 * @type {*|jQuery|HTMLElement} */ var $container = $('#main'); $container.imagesLoaded( function(){ $container.masonr... <a href="http://www.mostclan.com/post-146.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Thu, 28 Jul 2016 04:24:20 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-146.html</guid>

</item>
<item>
	<title>解决jquery zclip插件点击无效的问题</title>
	<link>http://www.mostclan.com/post-145.html</link>
	<description><![CDATA[使用jquery zclip 用于页面复制文本内容。 首先引入js   script type=text/javascript src=../js/jquery.js  /script 
 script type=text/javascript src=../js/jquery.zclip.js  /script 
按钮代码：
 input type=button name=s id=copyurl value=复制... <a href="http://www.mostclan.com/post-145.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p><p><a href="http://www.mostclan.com/post-79.html">document.body.scrollTop与document.documentElement.scrollTop兼容</a></p></div>]]></description>
	<pubDate>Tue, 19 Jul 2016 15:34:12 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-145.html</guid>

</item>
<item>
	<title>PhantomJS快速入门教程(服务器端的 JavaScript API 的 WebKit)</title>
	<link>http://www.mostclan.com/post-132.html</link>
	<description><![CDATA[PhantomJS 是一个基于 WebKit 的服务器端 JavaScript API。它全面支持web而不需浏览器支持，其快速，原生支持各种Web标准： DOM 处理, CSS 选择器, JSON, Canvas, 和 SVG。 PhantomJS 可以用于 页面自动化 ， 网络监测 ， 网页截屏 ，以及 无界面测试 等。 PhantomJs官网：http://phantomjs.org/ GitHub:https://git... <a href="http://www.mostclan.com/post-132.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Sat, 18 Jun 2016 10:29:31 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-132.html</guid>

</item>
<item>
	<title>js时间戳和时间格式之间的转换（二）</title>
	<link>http://www.mostclan.com/post-120.html</link>
	<description><![CDATA[html xmlns=http://www.w3.org/1999/xhtml   head   meta http-equiv=Content-Type content=text/html; charset=utf-8 /   script type=text/javascript  // 获取当前时间戳(以s为单位) var timestamp = Date.parse(new Date()); timestamp = timestamp / 1000; //当前时间戳为：1403149534 console.log(当前时间戳为： + timestamp); /... <a href="http://www.mostclan.com/post-120.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Fri, 27 May 2016 07:51:47 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-120.html</guid>

</item>
<item>
	<title>jquery中prop()方法和attr()方法的区别浅析</title>
	<link>http://www.mostclan.com/post-119.html</link>
	<description><![CDATA[jquery1.6中新加了一个方法prop()，一直没用过它，官方解释只有一句话:获取在匹配的元素集中的第一个元素的属性值。
大家都知道有的浏览器只要写disabled，checked就可以了，而有的要写成disabled = disabled，checked=checked，比如用attr(checked)获取checkbox的checked属性时选中的时候可以取到值,值为checked但没选中获取值就是undefined。
jq提供新的方法“prop”来获取这些属性，就是来解决这个问题的，以前我们使用attr获取checked属性时返回checked和,现在使用prop方法获取属性则统一返回true和false。
那么，什么时候使用attr()，什... <a href="http://www.mostclan.com/post-119.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Thu, 26 May 2016 05:17:02 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-119.html</guid>

</item>
<item>
	<title>js时间戳和时间格式之间的转换（一）</title>
	<link>http://www.mostclan.com/post-118.html</link>
	<description><![CDATA[原文：http://xiaomiya.iteye.com/blog/2070329  //时间戳转换成日期时间2014-8-8 下午11：40：20
function formatDate(ns){ return new Date(parseInt(ns) * 1000).toLocaleString().replace(/年|月/g, -).replace(/日/g,  );
} //时间戳转换成八位日期2014-5-5 
function userDat... <a href="http://www.mostclan.com/post-118.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Wed, 25 May 2016 07:37:09 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-118.html</guid>

</item>
<item>
	<title>javascript时间戳和日期字符串相互转换</title>
	<link>http://www.mostclan.com/post-115.html</link>
	<description><![CDATA[html xmlns=http://www.w3.org/1999/xhtml   head   meta http-equiv=Content-Type content=text/html; charset=utf-8 /   script type=text/javascript  // 获取当前时间戳(以s为单位) var timestamp = Date.parse(new Date()); timestamp = timestamp / 1000; //当前时间戳为：1403149534 console.log(当前时间戳为： + timestam... <a href="http://www.mostclan.com/post-115.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Mon, 16 May 2016 11:03:30 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-115.html</guid>

</item>
<item>
	<title>js获取客户端浏览器信息</title>
	<link>http://www.mostclan.com/post-113.html</link>
	<description><![CDATA[Navigator 对象包含有关浏览器的信息。 Navigator 对象属性： <a href="http://www.mostclan.com/post-113.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Mon, 29 Feb 2016 12:20:42 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-113.html</guid>

</item>
<item>
	<title>返回前一页的两种方法的区别与好处</title>
	<link>http://www.mostclan.com/post-98.html</link>
	<description><![CDATA[history.back(-1):直接返回当前页的上一页，数据全部消息，是个新页面 history.go(-1):也是返回当前页的上一页，不过表单里的数据全部还在 <a href="http://www.mostclan.com/post-98.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-79.html">document.body.scrollTop与document.documentElement.scrollTop兼容</a></p></div>]]></description>
	<pubDate>Sat, 12 Dec 2015 09:37:36 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-98.html</guid>

</item>
<item>
	<title>动态绑定事件的简单方法</title>
	<link>http://www.mostclan.com/post-97.html</link>
	<description><![CDATA[Javascript事件绑定的方法很多，很灵活。不过，作为比较简单的动态绑定，下面的代码看似正确，但得不到预期的效果 下面是页面的dom结构  ul id=test   li One /li   li Two /li   li Three /li   li Four /li   /ul  下面是javascript代码 //根据ID获取对象 function id(v) {... <a href="http://www.mostclan.com/post-97.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Sat, 12 Dec 2015 08:07:28 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-97.html</guid>

</item>
<item>
	<title>屏幕高度笔记</title>
	<link>http://www.mostclan.com/post-80.html</link>
	<description><![CDATA[document.body.clientHeight // 文档的高，屏幕的文档区域的高 documemt.documentElement.clientHeight // 有效的高，屏幕可视的高 document.documentElement(body).scrollHeight // 屏幕的总高度 document.documentElement(body).scrollTop // 滚动的高 document.documentElement.scrollHeight=document.body.clientHeight+document.documentElement.scrollTop... <a href="http://www.mostclan.com/post-80.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p><p><a href="http://www.mostclan.com/post-79.html">document.body.scrollTop与document.documentElement.scrollTop兼容</a></p></div>]]></description>
	<pubDate>Thu, 01 Oct 2015 14:22:29 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-80.html</guid>

</item>
<item>
	<title>document.body.scrollTop与document.documentElement.scrollTop兼容</title>
	<link>http://www.mostclan.com/post-79.html</link>
	<description><![CDATA[这两天在写一个JS的网页右键菜单，在实现菜单定位的时候发现了这个问题：chrome居然不认识document.documentElement.scrollTop！ 看前辈们的文章，纷纷表示如果有文档声明（即网页第一句的docType）的情况下，标准浏览器是只认识documentElement.scrollTop的，但chrome虽然我感觉比firefox还标准，但却不认识这个，在有文档声明时，chrome也只认识document.body.scrollTop. 由于在不同情况下，document.body.scrollTop与document.documentElement.scrollTop都有可能取不到值，那到底网页的scrollTop值怎么得到呢... <a href="http://www.mostclan.com/post-79.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Thu, 01 Oct 2015 13:59:27 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-79.html</guid>

</item>
<item>
	<title>Ajax同步与异步的区别</title>
	<link>http://www.mostclan.com/post-72.html</link>
	<description><![CDATA[同步需要等待返回结果才能继续，异步不必等待，一般需要监听异步的结果 同步是在一条直线上的队列，异步不在一个队列上 各走各的 <a href="http://www.mostclan.com/post-72.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Wed, 12 Aug 2015 14:44:19 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-72.html</guid>

</item>
<item>
	<title>Javascript范围操作li标签（可举一反三）</title>
	<link>http://www.mostclan.com/post-64.html</link>
	<description><![CDATA[ul id=ul_list   li  /li   li  /li   li  /li   /ul   script  var aLi = document.getElementById(ul_list).getElementsByTagName(li);    alert(aLi.length);  /script <a href="http://www.mostclan.com/post-64.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Wed, 10 Jun 2015 09:13:24 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-64.html</guid>

</item>
<item>
	<title>window.location.href和window.location.replace的区别</title>
	<link>http://www.mostclan.com/post-37.html</link>
	<description><![CDATA[今天在做OA项目中的BBS论坛模块的时候涉及到关于页面跳转的问题：在论坛后台管理模块中有个删除论坛的功能，点击删除按钮后将删掉该论坛以及该论坛中的所有帖子和回复。在后台中删除按钮是用a标签链接的，把a标签的href属性设置为自己写的跳转到delete.asps页面的... <a href="http://www.mostclan.com/post-37.html">阅读全文&gt;&gt;</a><div id="related_log" style="font-size:12px"><p><b>相关日志：</b></p><p><a href="http://www.mostclan.com/post-163.html">手机端常用的报错信息提示</a></p><p><a href="http://www.mostclan.com/post-80.html">屏幕高度笔记</a></p><p><a href="http://www.mostclan.com/post-145.html">解决jquery zclip插件点击无效的问题</a></p><p><a href="http://www.mostclan.com/post-210.html">jQuery 获取当前节点的html包含当前节点的方法</a></p><p><a href="http://www.mostclan.com/post-98.html">返回前一页的两种方法的区别与好处</a></p></div>]]></description>
	<pubDate>Wed, 08 Apr 2015 09:17:09 +0000</pubDate>
	<author>Veris</author>
	<guid>http://www.mostclan.com/post-37.html</guid>

</item></channel>
</rss>