开发者

Using Html Id in ExtJS4

I am new to 开发者_开发技巧ExtJS4.May i know how to get html Id in ExtJS4.If you have a sample please share with me.


In ExtJS4 you can get dom node by it's id using:

Ext.DomQuery.selectNode('#example_div');

or using oldschool js:

document.getElementById('example_div');


You can try

var elDom = Ext.getDom('example_div');

I have not used it but found it in the docs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜