event.name
and the input box shows up as source.name
addName function: () { // . . .stuff to enter the name into storage, then this.rowItemClicked({name: item}); }, rowItemClicked function: (source, event, inSender, inEvent, inIndex) var checkSource = source.id; if (checkSource == "aPP_results") { //comes from the Name List var theName = event.name; }; if (checkSource == undefined) { //comes from the Add Name Input var theName = source.name; // . . . more stuff to process the Name };This works but my question is: Is there a better/smarter way to accomplish this?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments