how can i pass values text field from Alert dialog?
This is My text field
tableView = function(e){ var tableView = Titanium.UI.createTableView({ left : 0, right : 0, top : e.top, bottom : 0, width : Ti.UI.FILL, height : Ti.UI.FILL, data:e.data, separatorColor:'gray' }); if(e.tableName === 'time') { windowAddDataInvoce.add(new createTextBox({ top : 70, })); } return tableView; };this is my Button.i want after button click vale from textfield view in alert
createButton = function(e){ var button = Ti.UI.createButton({ left:e.left, top:e.top, right:e.right, width:e.width, height : e.height, title:e.title, backgroundColor:e.backgroundColor, color:e.color, backgroundImage: e.backgroundImage, }); if(e.title == 'Send Invoice'){ button.addEventListener('click', function(e){ alert(""); });how can i do this?please help...!!