Manual:Core:DomQuery (Chinese) (Legacy)
This version of our Learning Center is unmaintained.
This article may be out-of-date or contain incorrect information.
Please visit the new Sencha Learning Center for up-to-date material.
From Sencha - Learn
| Summary: DOM Query |
| Author: <translator>jlinux@gmail.com |
| Published: 08-04-2007 |
| Ext Version: 1.1 |
Languages: English Chinese Korean
|
DomQuery允许你选择页面中的元素。
例子
显示当前页面中DIV元素的数量。
alert(Ext.DomQuery.select('div').length);
突出(高亮显示)第15个DIV元素。
Ext.get(Ext.DomQuery.selectNode('div:nth(15)')).highlight()
This page was last modified on 26 November 2007, at 05:39.
This page has been accessed 6,206 times.

Chinese