Just create the elements like any element.
Example:
var data = {
'foo': 'bar',
'foo2': 'baz'
}
var s = $('<select />');
for(var val in data) {
$('<option />', {value: val, text: data[val]}).appendTo(s);
}
s.appendTo('body'); // or wherever it should be
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…