📅  最后修改于: 2022-03-11 14:56:59.545000             🧑  作者: Mango
any .val() updates need to be followed by
$('#unit').val('21'); // Select the option with a value of '21'
$('#unit').trigger('change'); // Notify any JS components that the value changed