Results 1 to 3 of 3
  1.    #1  
    I have an array in this format:
    {data: "Apple", value:$L("Jobs"), info: "ipod"}
    with probably 80 in length.

    I have all these showing up in a list just fine, but I cant seem to figure out how to use the data in the array.

    Using:
    FilterlistAssistant.prototype.onListTap = function(event) {

    document.getElementById('com').innerHTML = "microsoft"
    works, but I cant figure out how to differentiate what part of the list they clicked so I can choose which array[x].

    Anyone have any tips?
  2. chimeric's Avatar
    Posts
    69 Posts
    Global Posts
    71 Global Posts
    #2  
    So what happens when you tap the list currently?
  3. #3  
    Code:
    document.getElementById('com').innerHTML = event.item.data;
    Last edited by oil; 08/14/2009 at 12:40 PM. Reason: added semicolon

Posting Permissions