1
A
回答
0
你会窗口创建过程中传递一个文本框参照窗口,单击该按钮时,您使用的参考:
xtype: 'textfield',
},{
xtype:'button',
text: 'Get Image'
handler: function(btn) {
Ext.create('Ext.window.Window',{
textfieldReference: btn.previousSibling('textfield'),
buttons:[{
text: 'OK',
handler: function(okBtn) {
okBtn.up('window').textfieldReference.setValue(imageId);
}
}]
})
}
相关问题
- 1. 在C#中传递变量#
- 2. 在URL中传递变量
- 3. 在JavaScript中传递变量
- 4. 在getElementbyID()中传递变量
- 5. 在jQuery中传递变量
- 6. 在db_id()中传递变量
- 7. 在php中传递变量
- 8. 在Javascript中传递变量
- 9. 在Task.Factory中传递变量
- 10. 在phpunit中传递变量
- 11. 在C中传递变量
- 12. 在jquery中传递变量
- 13. 在url中传递变量?
- 14. Sencha Touch 2;在两个函数之间传递变量
- 15. 在传统ASP中传递变量
- 16. 传递变量
- 17. 传递变量
- 18. 传递变量
- 19. 传递变量
- 20. 传递变量
- 21. 传递变量
- 22. 传递变量
- 23. 传递变量
- 24. 传递变量
- 25. 传递变量
- 26. 传递变量
- 27. 传递变量
- 28. 传递变量
- 29. 传递变量
- 30. 传递变量
太感谢你了。 –