![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
hotforyilin
这个作者很懒,什么都没留下…
展开
-
Prototype1.5 的学习笔记
Prototype1.5的教程$${}的用法' ' = getElementByTagName'#' = getElementById' ' = getElementByClass一些例子$$('div')// 返回所有文档中的div元素. 类似于document.getElementsByTagName('div')!$$('#contents')// 类似于$('cont...2007-08-25 09:12:44 · 91 阅读 · 0 评论 -
Javascript的函数一(转)
作者:F. Permadi译者:Sheneyan(子乌)英文原文: INTRODUCTION TO JavaScript Functions中文译文(包括示例):javascript的函数子乌注:一篇相当不错的function入门文章,个人感觉相当经典。词语翻译列表:function:函数(Function未翻译)declare:定义assign:指派,分配functionb...2007-08-25 09:14:28 · 103 阅读 · 0 评论 -
Javascript的关于this用法的一个问题的分析
function show(){ this.a="1";//我的理解是 这里的 this 指bb alert(this.a+this.b+this.c+this.d);//显示"1undefinedundefinedundefined" show2(); function show2(){ this.b="2"; alert(this.a...原创 2008-11-16 10:20:21 · 154 阅读 · 0 评论