Manual:Core:DomQuery (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: Maxence Delannoy |
| Published: 07-29-2007 |
| Ext Version: 1.1 |
Languages: English Chinese Korean
|
DomQuery allows you to select elements on the page.
Some examples
Display the number of div elements on the current page.
alert(Ext.DomQuery.select('div').length);
Emphasize the 15th div element.
Ext.get(Ext.DomQuery.selectNode('div:nth(15)')).highlight()
This page was last modified on 15 July 2008, at 14:26.
This page has been accessed 23,141 times.

English