Dotfish

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

2012年10月25日 #

摘要: 参考资料:http://www.cnblogs.com/JimmyZhang/archive/2008/07/26/1252183.htmlhttp://www.cnblogs.com/wayfarer/archive/2004/07/30/28723.html 阅读全文
posted @ 2012-10-25 21:30 Peter Wang 阅读(139) 评论(0) 推荐(0) 编辑

摘要: 0.eval() 函数可计算某个字符串,并执行其中的的 JavaScript 代码。snippets:document.write(eval("2+2"))var x=10document.write(eval(x+17))1.$get(id, element)id:The ID of the DOM element to find.element:The parent element to search. The default is the document element.snippets:// Add handler using the getElementById 阅读全文
posted @ 2012-10-25 18:11 Peter Wang 阅读(195) 评论(0) 推荐(0) 编辑