I have question that seems very simple, but I just can\'t get it right. I have a with a list of options and a default value. After the user selec
this solved my issue, it was working fine with
var value = item[index].id; $("#select2").val(value);
but not showing selected value, so
$("#select2").val(value).change();
works fine for me.