I have a text box in Sencha Touch 2 and a button. I would like to get a text box input when a button is clicked. I tried this with Ext.ComponentQuery, but it did not work. Ask someone an example how to do this?
{ xtype: 'textfield', cls: 'inputfields', id: 'title', }, { xtype: 'button', ui: 'action', name: 'textfieldButton', handler : function(){
source share