<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>红颜丽人javascript &#187; 红颜丽人</title>
	<atom:link href="http://www.hongyanliren.com/tag/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hongyanliren.com</link>
	<description>追求技术就像追求#$！不抛弃，不放弃！</description>
	<lastBuildDate>Thu, 16 Mar 2023 07:48:39 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.2</generator>
		<item>
		<title>js获取div的坐标长高</title>
		<link>http://www.hongyanliren.com/2014m11/21073.html</link>
		<comments>http://www.hongyanliren.com/2014m11/21073.html#comments</comments>
		<pubDate>Sat, 29 Nov 2014 05:15:24 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=21073</guid>
		<description><![CDATA[js获取div的坐标.html中最常使用的控件就是<strong>div</strong>了,那么如何获取div的坐标呢?

如何方法可以实现.
<div>
<div>
<div>Js代码  <a title="收藏这段代码" target="_blank"><img alt="收藏代码" src="http://www.hongyanliren.com/wp-content/uploads/2014/11/icon_star167.png" /></a></div>
</div>
<ol start="1">
	<li>/***</li>
	<li>* 获取div的坐标</li>
	<li>* @param divObj</li>
	<li>* @returns {{width: number, height:[......]</li></ol></div><p class='read-more'><a href='http://www.hongyanliren.com/2014m11/21073.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m11/21073.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>javascript中的正则表达式的使用实例</title>
		<link>http://www.hongyanliren.com/2014m09/14828.html</link>
		<comments>http://www.hongyanliren.com/2014m09/14828.html#comments</comments>
		<pubDate>Sun, 28 Sep 2014 16:27:06 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=14828</guid>
		<description><![CDATA[javascript中的正则表达式的使用实例。

正则表达式方法:test(),exec()

string中的正则方法：
match(pattern) ：根据pattern进行正则匹配,如果匹配到,返回匹配结果,如匹配不到返回null
search(pattern) ：根据patter[......]<p class='read-more'><a href='http://www.hongyanliren.com/2014m09/14828.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m09/14828.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>javascript实现的省市级联菜单实例</title>
		<link>http://www.hongyanliren.com/2014m09/13674.html</link>
		<comments>http://www.hongyanliren.com/2014m09/13674.html#comments</comments>
		<pubDate>Sat, 20 Sep 2014 14:19:37 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=13674</guid>
		<description><![CDATA[javascript实现的省市级联菜单实例。
<div>
<div>
<div>Java代码 <a title="复制代码" onclick="dp.sh.Toolbar.CopyToClipboard(this);return false;" href="http://wentao365.iteye.com/blog/1992330#"><img alt="复制代码" src="http://www.hongyanliren.com/wp-content/uploads/2014/09/icon_copy10.gif" /></a> <a title="收藏这段代码" onclick="code_favorites_do_favorite(this);return false;" href="javascript:void()"><img alt="收藏代码" src="http://www.hongyanliren.com/wp-content/uploads/2014/09/icon_star20.png" /><img alt="" src="http://www.hongyanliren.com/wp-content/uploads/2014/09/spinner10.gif" /></a></div>
</div>
<ol>
	<li>&#60;tr&#62;   </li>
	<li>    &#60;th&#62;所属地区&#60;/th&#62;   </li>
	<li>    &#60;td&#62;   </li>
	<li>        &#60;select name="province" i[......]</li></ol></div><p class='read-more'><a href='http://www.hongyanliren.com/2014m09/13674.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m09/13674.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js指定时间5秒之内禁止重复提交代码实例</title>
		<link>http://www.hongyanliren.com/2014m09/13591.html</link>
		<comments>http://www.hongyanliren.com/2014m09/13591.html#comments</comments>
		<pubDate>Sat, 20 Sep 2014 13:27:10 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=13591</guid>
		<description><![CDATA[js指定时间5秒之内禁止重复提交代码实例。
<div>
<div>
<div>Java代码 <a title="复制代码" onclick="dp.sh.Toolbar.CopyToClipboard(this);return false;" href="http://wentao365.iteye.com/blog/2114036#"><img alt="复制代码" src="http://www.hongyanliren.com/wp-content/uploads/2014/09/icon_copy.gif" /></a> <a title="收藏这段代码" onclick="code_favorites_do_favorite(this);return false;" href="javascript:void()"><img alt="收藏代码" src="http://www.hongyanliren.com/wp-content/uploads/2014/09/icon_star10.png" /><img alt="" src="http://www.hongyanliren.com/wp-content/uploads/2014/09/spinner.gif" /></a></div>
</div>
<ol>
	<li>&#60;script language="javascript"&#62;   </li>
	<li>    var checkSubmitFlg = false;   </li>
	<li>    function checkSubmit() {[......]</li></ol></div><p class='read-more'><a href='http://www.hongyanliren.com/2014m09/13591.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m09/13591.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript avalon初探 Tab切换经典效果制作实例</title>
		<link>http://www.hongyanliren.com/2014m07/12267.html</link>
		<comments>http://www.hongyanliren.com/2014m07/12267.html#comments</comments>
		<pubDate>Mon, 21 Jul 2014 12:18:16 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=12267</guid>
		<description><![CDATA[JavaScript avalon初探 Tab切换经典效果制作实例。

avalon MVVM框架
好久没敲日志了，十一之前事情忙的要命，十一的时候本来打算猛些一番，结果却天不遂人愿，旅途奔波加上事情繁多，本身就没有太长时间去写博客，结果还感冒发烧，直接到了假期结束后的今天才刚刚好了。所以，抓[......]<p class='read-more'><a href='http://www.hongyanliren.com/2014m07/12267.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m07/12267.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>javascript 数组的基本操作 知识点、讲解内容以及总结</title>
		<link>http://www.hongyanliren.com/2014m07/12243.html</link>
		<comments>http://www.hongyanliren.com/2014m07/12243.html#comments</comments>
		<pubDate>Mon, 21 Jul 2014 11:57:09 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=12243</guid>
		<description><![CDATA[javascript 数组的基本操作 知识点、讲解内容以及总结。自己需要使用zoomit软件，没带自己电脑，在别人的电脑上随意的安装并不礼貌，于是征求了一下“新酱”的意见，他倒是很痛快的答应自己的要求了。而且昨天自己说自己用不惯他现在的系统，他还特意帮我将电脑的系统调整为win7的，在此真心谢谢“新[......]<p class='read-more'><a href='http://www.hongyanliren.com/2014m07/12243.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m07/12243.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSON格式语法知识实例</title>
		<link>http://www.hongyanliren.com/2014m07/12234.html</link>
		<comments>http://www.hongyanliren.com/2014m07/12234.html#comments</comments>
		<pubDate>Mon, 21 Jul 2014 11:46:23 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=12234</guid>
		<description><![CDATA[JSON格式语法知识实例。首先，json和xml类似。它是一种数据格式，而不是一种编程语言。json的作用是用于进行前后台的数据交互。
<div></div>
<div>在json的语法中，可以表示三种类型的值，分别是“简单值”“对象”“数组”</div>
<div>在对象类型中，json中的对象与javascript字面量有些不同，例如：</div>
<div>j[......]</div><p class='read-more'><a href='http://www.hongyanliren.com/2014m07/12234.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m07/12234.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS和JS标签style属性对照表</title>
		<link>http://www.hongyanliren.com/2014m07/12232.html</link>
		<comments>http://www.hongyanliren.com/2014m07/12232.html#comments</comments>
		<pubDate>Mon, 21 Jul 2014 11:44:55 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=12232</guid>
		<description><![CDATA[CSS和JS标签style属性对照表。




<p align="center"><b>盒子标签和属性对照</b></p>




<p align="left"><b>CSS</b><b>语法（不区分大小写）</b></p>


<p align="left"><b>JavaScript</b><b>语法（区分大小写）</b></p>




<p align="left">border</p>


<p align="left">border</p>




<p align="left">border-bottom</p>


<p align="left">borderB[......]</p><p class='read-more'><a href='http://www.hongyanliren.com/2014m07/12232.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m07/12232.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js文档碎片处理</title>
		<link>http://www.hongyanliren.com/2014m07/11980.html</link>
		<comments>http://www.hongyanliren.com/2014m07/11980.html#comments</comments>
		<pubDate>Thu, 17 Jul 2014 15:30:49 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=11980</guid>
		<description><![CDATA[js文档碎片处理。文档碎片相当于是装东西的塑料袋在理论上，文档碎片可以提高DOM操作性能，当我们需要把一万个元素插入到页面当中，每次插入一个元素，页面会发生一次变化，页面就需要渲染一次，这是性能会比较低。如果我们将一万个元素先放置到文档碎片当中，然后一次性插入页面，此时页面只需要渲染一次。

创[......]<p class='read-more'><a href='http://www.hongyanliren.com/2014m07/11980.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m07/11980.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery选择器汇总整理</title>
		<link>http://www.hongyanliren.com/2014m07/11977.html</link>
		<comments>http://www.hongyanliren.com/2014m07/11977.html#comments</comments>
		<pubDate>Thu, 17 Jul 2014 15:20:35 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[WEB前端开发]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery教程]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=11977</guid>
		<description><![CDATA[JQuery选择器汇总整理。

1.基本选择器(3种):
$("标签名"),如$("p")是选取了所有的p标签节点
$("#id名"),如$("#test")是选取了id为test的标签节点
$(".class名"),如$(".test")是选取了所有class为test的标签节点
上面[......]<p class='read-more'><a href='http://www.hongyanliren.com/2014m07/11977.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m07/11977.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
