I have a suitelet. I created a drop down that I fill like this
var results = queryResultSet.asMappedResults();
for (var jj = 0; jj < results.length; jj++) {
_customer.addSelectOption({value: results[jj]['id'],text: results[jj]['name']});
}
I want to make one of the "id", as default (Selected). How can I do it ?