• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






i am samual

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2010年5月9日

关于 js for 的效率
摘要: 之前听说for 的循环在写法不一样, 效率不一样, 照做就是了, 今天简单测试了一下, 时候还挺可观的。工具: ie7.0.5730.11 dynaTrace AJAX Edition Version: 1.5.0.247测试代码代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHigh... 阅读全文
posted @ 2010-05-09 15:29 samual 阅读(491) 评论(0) 推荐(0)
 

2010年2月23日

javascipt 正则
摘要: ModifiersModifiers are used to perform case-insensitive and global searches:ModifierDescriptioniPerform case-insensitive matchinggPerform a global match (find all matches rather than stopping after th... 阅读全文
posted @ 2010-02-23 22:38 samual 阅读(605) 评论(0) 推荐(0)
 

2010年2月7日

在php 中运行js
摘要: 这天去zend网站上逛了逛, 看到一个monkeyspider 的标签, http://devzone.zend.com/article/4704-Using-JavaScript-in-PHP-with-PECL-and-SpiderMonkey嘿嘿, 原来是用c写了一个扩展php扩展 把spiderMonkey和php 联起来了。 照着试了试, 还真跑下来了, 拿上来分享一下。首先是下载htt... 阅读全文
posted @ 2010-02-07 13:08 samual 阅读(1575) 评论(0) 推荐(0)
 
关于页面被拦截
摘要: 先来看一下几个常用浏览器的拦截设置ie 2. TT 3. maxthon chrome , firefox 默认安装是没有页面拦截的, 都有一些对应的插件测试的时候不能在本地测试, 要把页面放到http 服务器上。1. ie 页面拦截设为高, 所有方式都无法在新页打开。拦截设为中, window.open , 直接写的页面上, new 一个a click,以及form su... 阅读全文
posted @ 2010-02-07 00:45 samual 阅读(840) 评论(0) 推荐(0)