Community Questions & Answers

Click table data

~~~ var tableData = [ {title: 'Apples'}, {title: 'Bananas'}, {title: 'Carrots'}, {title: 'Potatoes'} ]; var table = Ti.UI.createTableView({ data: tableData }); win5.add(table); ~~~ How can I use `addEventListener` to make one of the table data values...

iOS Push Notification

Hi! My app is working with PushNotification from Apple. I made a function to register for push and this is working well. At the start of my app i'm calling exactly this function and saving the recieved deviceToken in the Preference Table of my database. At...

Variable in EventListener not being set

Hi, When i get to the Ti.API.info line, the variable theSelected is being present as null - can anyone help with this?? ~~~ var theSelected; Ti.App.addEventListener("app:fromHomeScreen", function(e) { theSelected =...

FireEvent When WebView Loads

HI, I followed a tutorial on the Wiki so that i am getting data from a index.js controller to a WebView however at the moment, the fireEvent only occurs when a button is pressed: ~~~ button.addEventListener('click', function(e) { ...

Skip Button for iPhone

I have a few statements in an array and I'd like to cycle through them with a skip button. I've added an event listener to the button but it only seems to effect the button and not my statements. Here's the code example: ~~~ //Label for Statement var...

Showing 1-50 of 779 1 2 3 4 5 616