1. How to add items and refresh the select menu in JQuery mobile ?
To add items dynamically, you must first append the select options to the actual select box like you were trying. But then additionally you must run a refresh on the widget as well.
For example I have done:
$("#selectbox").html(optionList).selectmenu('refresh', true);