Update Select Menu Item from JSON

I’m trying to update all items in select menu from JSON string, I’m using the following code but it didn’t work

responseData={“select1”:“val1”, “select1”:“val2”};
app.form.fillFromData("#recipient1", responseData);

while in jQuery:

var temp = {“1” : “string1”,“2” : “string2”};

var $select = $(’#recipient1’);
$.each(temp,function(key, value)
$select.append(’’ + value + ‘’);

but it won’t work in Framework7

any suggestion?
thanks in advance!

i’ve decided to update the content directly from AJAX call, so it’s working fine now. Thanks.