<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_粗茶淡饭</title><subtitle type="text">Rome was not built in a day. 生气是拿别人的错误来惩罚自己</subtitle><id>http://feed.cnblogs.com/blog/u/46070/rss</id><updated>2010-01-28T07:41:57Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/46070/rss"/><entry><id>http://www.cnblogs.com/chami/archive/2009/12/22/1629821.html</id><title type="text">js搜集函数</title><summary type="text">//判断是否为正整数function isNum(obj){ var pageObj=obj;  if(!/^[0-9]*[1-9][0-9]*$/.test(pageObj.value)) {  pageObj.value='';  return false; }}</summary><published>2009-12-22T07:40:00Z</published><updated>2009-12-22T07:40:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/12/22/1629821.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/12/22/1629821.html"/></entry><entry><id>http://www.cnblogs.com/chami/archive/2009/12/01/1614224.html</id><title type="text">javascript常用知识点</title><summary type="text">（1）回车提交document.onkeydown = function(evtDiv){ var evtDiv = window.event?window.event:evtDiv; if(evtDiv.keyCode==13) { $("#btn_divLog").click(); } }(2)获取事件源//获取事件源function getEvent(){ if(document.all){...</summary><published>2009-12-01T00:29:00Z</published><updated>2009-12-01T00:29:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/12/01/1614224.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/12/01/1614224.html"/></entry><entry><id>http://www.cnblogs.com/chami/archive/2009/09/11/1564947.html</id><title type="text">Javascript在Firefox下获取鼠标位置</title><summary type="text">来源：http://huangj.in/design/mouse-position-js/由于Firefox和IE等浏览器之间对JS解释的方式不一样，Firefox下面获取鼠标位置不能够直接使用clientX来获取。网上说的一般都是触发mousemove事件才行。我这里有两段代码，思路都一样，就是风格不同。第一段代码是利用全局变量来获取实时鼠标的位置。varxPos;varyPos;window....</summary><published>2009-09-11T10:16:00Z</published><updated>2009-09-11T10:16:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/09/11/1564947.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/09/11/1564947.html"/></entry><entry><id>http://www.cnblogs.com/chami/archive/2009/07/04/1516900.html</id><title type="text">javascript 操作技巧集绵</title><summary type="text">1.用js清空select中的option$(&amp;rsquo;selectId&amp;rsquo;).options.length=02.将字符串转换为时间类型function strToDate(str){ var str = str.split(/[-\s:]/);  return new Date(Date.apply(null, str)); }形如：2009-07-04 这样的类型用下面转换第一...</summary><published>2009-07-04T09:38:00Z</published><updated>2009-07-04T09:38:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/07/04/1516900.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/07/04/1516900.html"/></entry><entry><id>http://www.cnblogs.com/chami/archive/2009/06/25/1511010.html</id><title type="text">Html的页面功能开发技巧集合(二)(搜集中)</title><summary type="text">1.另外一个DIV中图片居中图片居中来源：http://www.cnblogs.com/evlon/archive/2007/03/22/684040.html[代码]图片居中（二）：兼容火狐http://www.lanrentuku.com/js/css-685.html&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//E...</summary><published>2009-06-25T07:21:00Z</published><updated>2009-06-25T07:21:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/06/25/1511010.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/06/25/1511010.html"/></entry><entry><id>http://www.cnblogs.com/chami/archive/2009/06/23/1508804.html</id><title type="text">HtmlTable动态创建表格行与列</title><summary type="text">///&amp;lt;summary&amp;gt; /// 创建htmltable表,并添加从数据库中取出的年级信息 /// &amp;lt;/summary&amp;gt; private void CreateTableInfo() { HtmlTable grade_htmltable = new HtmlTable(); //创建一个表htmltable表 //定义htmltable表的样式 grade_htmltab...</summary><published>2009-06-23T00:50:00Z</published><updated>2009-06-23T00:50:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/06/23/1508804.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/06/23/1508804.html"/></entry><entry><id>http://www.cnblogs.com/chami/archive/2009/06/23/1508801.html</id><title type="text">js获取cookies和相关技巧</title><summary type="text">1.获取cookies函数&amp;lt;SCRIPT&amp;gt;  function GetCookie(sName)  {  var aCookie = document.cookie.split("; ");  for (var i=0; i &amp;lt; aCookie.length; i++)  {  var aCrumb = aCookie[i].split("=");  if (sName == a...</summary><published>2009-06-23T00:49:00Z</published><updated>2009-06-23T00:49:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/06/23/1508801.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/06/23/1508801.html"/></entry><entry><id>http://www.cnblogs.com/chami/archive/2009/06/02/1494320.html</id><title type="text">获取为JS文件传递的参数【完整版】(转载)</title><summary type="text">转载地址：http://bbs.51js.com/viewthread.php?tid=74735 完整测试脚本如下：var getArgs=(function(){  var sc=document.getElementsByTagName('script');  var paramsArr=sc[sc.length-1].src.split('?')[1].split('&amp;amp;');  v...</summary><published>2009-06-02T03:05:00Z</published><updated>2009-06-02T03:05:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/06/02/1494320.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/06/02/1494320.html"/></entry><entry><id>http://www.cnblogs.com/chami/archive/2009/05/26/1489473.html</id><title type="text">人的一生</title><summary type="text"/><published>2009-05-26T03:54:00Z</published><updated>2009-05-26T03:54:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/05/26/1489473.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/05/26/1489473.html"/></entry><entry><id>http://www.cnblogs.com/chami/archive/2009/05/04/1448467.html</id><title type="text">（读书笔记：忍耐的艺术）----转载</title><summary type="text">读书笔记：忍耐的艺术转载地址 ：http://blog.csdn.net/guilin_gavin/archive/2009/04/22/4100091.aspx1. 扭转人生的第一步，就在于抛却一切负面、消极的想法，别一味相信自己什么都不行、是无药可救的了。2. 过去不等于未来。3. 凡是目标，无论大小，都有意义&amp;mdash;&amp;mdash;只要它能使你得到完成之感。目标本身没有大小，大小全看你的...</summary><published>2009-05-04T01:00:00Z</published><updated>2009-05-04T01:00:00Z</updated><author><name>茶^_^米</name><uri>http://www.cnblogs.com/chami/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chami/archive/2009/05/04/1448467.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chami/archive/2009/05/04/1448467.html"/></entry></feed>
