Jump to content

snoopydogg

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by snoopydogg

  1. Hi, i'm trying to create a select option tag on my json data to say 'select country' and then when the user clicks on the drop down arrow, they are able to see a list of all the countries to choose from. This is what i have at the moment but im not sure how to add the select option tag. if(getCurrency.opstatus == 0){ var currencies = getCurrency.currencies; var currencyListkData = []; var keys = Object.keys(currencies); keys.sort(); for(var i=0;i<keys.length;i++){ currencyListkData.push([keys,currencies[keys]+"("+ currencySymbolTab[keys]+")"]); } self.view.ListBox1.masterData = currencyListkData; self.view.ListBox2.masterData = currencyListkData; }else{ kony.print("Error in service invocation") } thanks.
×
×
  • Create New...