茶亦醉人何必酒,书能香我无须花!

张帆风顺破重浪,兰幽山间心坦荡。 斌礼厚徳创伟业,志壮凌云走四方!
posts - 169, comments - 560, trackbacks - 8, articles - 4
  博客园 :: 首页 ::  :: 联系 :: 订阅 订阅 :: 管理

Web、JavaScript

摘要: jQuery 表单值相关操作阅读全文

posted @ 2011-05-08 14:02 ※ABeen※ 阅读(113) | 评论 (0) 编辑 |

posted @ 2009-02-14 15:02 ※ABeen※ 阅读(5415) | 评论 (0) 编辑 |

摘要:   08年 公司为了让网站编辑工作方便,做过这么一个简单转发文章的firefox插件。   功能:在firefox右键菜单,弹出调用页面把当前网页部分内容 Post 到网站中。   (代码仅供学习参照,部分代码未提供下载) 阅读全文

posted @ 2009-02-14 14:23 ※ABeen※ 阅读(303) | 评论 (0) 编辑 |

摘要: 脑图帮助下图显示在支持脚本的所有浏览器中可实现的最低公用标准的浏览器文档对象层次.阅读全文

posted @ 2008-12-12 22:53 ※ABeen※ 阅读(65) | 评论 (1) 编辑 |

摘要: Firebug Script 调试记录 * Your new friend, console.log //显示变量 参数 console.log, console.debug, console.info, console.warn, console.error... console.log("hello world") console.log(2,4,6,8,"foo",bar) console.log("%a,%b","foo",bar) // "%"用于定义量 console.log("%s is %d years old.", "Bob", 42). * Timing and profiling // 时间及性能分析 console.profile(); //性能开始 console.time("test"); //时间开始 function Test() { for(var i = 0; i < 10; i++) { console.info("t阅读全文

posted @ 2008-09-04 17:16 ※ABeen※ 阅读(329) | 评论 (0) 编辑 |

摘要: 实现功能:在IE中右键菜单中取出网页中的相关信息。 1、建立调用的.htm文件,内容如下:阅读全文

posted @ 2008-03-17 16:51 ※ABeen※ 阅读(229) | 评论 (0) 编辑 |

摘要: Ajax提供与服务器异步通信的能力,借助于Ajax,可以在用户单击按钮时,使用JavaScript和 DHTML立即更新UI,并向服务器发出异步请求,以执行更新或查询数据库。当请求返回时,就可以使用JavaScript和CSS来相应地更新UI,而 不是刷新整个页面。最重要的是,用户甚至不知道浏览器正在与服务器通信:Web站点看起来是即时响应的。示例代码如下:阅读全文

posted @ 2007-05-03 00:13 ※ABeen※ 阅读(599) | 评论 (3) 编辑 |

posted @ 2007-04-05 00:38 ※ABeen※ 阅读(224) | 评论 (1) 编辑 |

posted @ 2007-02-05 20:15 ※ABeen※ 阅读(356) | 评论 (0) 编辑 |

摘要: 简单模式 • 创建: 一个文本格式或正则表达式构造函数 文本格式: /pattern/flags 正则表达式构造函数: new RegExp("pattern"[,"flags"]); • 参数说明: pattern -- 一个正则表达式文本 flags -- 如果存在,将是以下值: g: 全局匹配 i: 忽略大小写 gi: 以上组合 例: var re=/ / var re=/ /g匹配全部空格 var re=/web/gi 不区分大小写 并且是全局搜索阅读全文

posted @ 2006-12-15 21:58 ※ABeen※ 阅读(149) | 评论 (0) 编辑 |

摘要: 当网页内容太长或要导航到其它页面的一个具体位置时,可以使用 Html 中书签。 1. 同一个web页面链接 2. 不同的页面之间转接阅读全文

posted @ 2006-12-14 20:54 ※ABeen※ 阅读(837) | 评论 (0) 编辑 |

摘要: 1、将正数转化为美元数值 2、将10进制转化成16进制阅读全文

posted @ 2006-12-13 00:09 ※ABeen※ 阅读(698) | 评论 (0) 编辑 |