#jquery: set an available option to selected
$("#report_area option").filter(function() {
//may want to use $.trim in here
return $(this).text() == "Sự kiện";
}).attr('selected', true);
$("#report_area option").filter(function() {
//may want to use $.trim in here
return $(this).text() == "Sự kiện";
}).attr('selected', true);
Comments