Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
fileuploadfield のボタンの ID を取得するにはどうすればよいですか? 私は試した。Ext.getCmp('idFileupload1').buttonEl.id しかし、うまくいきませんでした。
なぜそれが必要なのかわかりませんが、方法は次のとおりです。
Ext.select('.x-form-file-btn button').elements[0].id
ブラウザで開いて右クリック → Chrome なら「要素の検査」、firefox などでも同様です。