prototype Element
来源:互联网 发布:程序员招聘广告 编辑:程序博客网 时间:2024/05/18 01:56
Prototype Element对象,各种与DOM元素的相互作用提供了一个强大的DOM方法 - 建立,更新,穿越他们,等你可以访问这些作为元素本身的方法,在元素传递给工作作为第一个参数,或扩展元素的实例上的方法:
// Using Element:Element.addClassName('target', 'highlighted'); // Using an extended element instance:$('target').addClassName('highlighted');
元素也是从头开始构建元素的实例的构造,详见新元素.
Most Element
methods return the element instance, so that you can chain them easily:
$('message').addClassName('read').update('I read this message!');
More Information
For more information about extended elements, check out "How Prototype extends the DOM", which will walk you through the inner workings of Prototype's DOM extension mechanism.
- prototype Element
- prototype学习笔记(Element篇一)
- prototype学习笔记(Element篇二)
- prototype学习笔记(Element篇三)
- Prototype使用Form.Element操作表单控件
- Array.prototype.remove=function(element){}
- Bug of Element.removeClassName() in prototype.lite.js
- Prototype
- ProtoType
- prototype
- prototype
- Prototype
- prototype
- Prototype
- Prototype
- Prototype
- prototype
- prototype
- java学习之路,不走弯路,就是捷径
- 查看系统gblic版本号的方法
- C++多进程并发框架FFLIB
- linux dmesg命令
- 修改文件内容 vi命令
- prototype Element
- Visual Studio 2008下AJAX的设置
- hdu 1863 hdu 1879 hdu 1875
- Git Windows 系统安装图解
- HTML5 时钟
- Linux线程属性总结
- 使用本地代理后WebView无法连接网络的解决办法
- python中几个不太熟的关键字:assert exec lambda
- POJ 2531(搜索题)