
javascript
hotforyilin
这个作者很懒,什么都没留下…
展开
-
Prototype1.5 的学习笔记
Prototype1.5的教程 $${}的用法 ' ' = getElementByTagName '#' = getElementById ' ' = getElementByClass 一些例子 $$('div') // 返回所有文档中的div元素. 类似于document.getElementsByTagName('div')! $$('#contents') // 类似于$('cont...2007-08-25 09:12:44 · 115 阅读 · 0 评论 -
Javascript的函数一(转)
作者:F. Permadi 译者:Sheneyan(子乌) 英文原文: INTRODUCTION TO JavaScript Functions 中文译文(包括示例):javascript的函数 子乌注:一篇相当不错的function入门文章,个人感觉相当经典。 词语翻译列表: function:函数(Function未翻译) declare:定义 assign:指派,分配 functionb...2007-08-25 09:14:28 · 119 阅读 · 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 · 177 阅读 · 0 评论