标签: javascript html extjs
I want to know the field label for a text field. Here's what i got so far:
var ok = Ext.ComponentQuery.query('textfield[itemId=fieldID]')[0]; //how to get the field label of that textfield????
答案 0 :(得分:3)
您希望使用sencha docs
getFieldLabel()
这是fiddle demonstrating
Ext.ComponentQuery.query('#myField')[0].getFieldLabel()
答案 1 :(得分:1)
TimeZoneInfo