Home > Article > Web Front-end > jquery select dynamically loads selections (compatible with various browsers)_jquery
On ie6 and above, we can assign values to select controls one by one through
$("#selectID").val("xx");. But an error will be reported under ie6! ! We can use the following method: set_select_val($("#selectID" ),xx);//Because ie6 does not support $("#" provinceDom).attr("value", provinceDefvalue);