hello,
the code in the example is incomplete. Surfing in the forum I found something else to complement it and it works like this:
/**
* Called when document is loaded.
*/
phoneui.documentReadyHandler = function() {
someFuntion();
}
function someFuntion(){
var listName = 'list1';
var itemToSelect = $('select[name='+listName+'] :selected').prop("selected", false);
var itemNum = 2;
var selId = $('#m1-MyList-list1' + '> li').each(
function (i) {
$(this)[i == itemNum ? 'addClass' : 'removeClass'](m1Design.css("selected"));
});
phoneui.preprocessDOM('#m1-MyList-list1');
}
Hope this helps someone else too.