But I also want to do this, and I don't know how to call the same functions here without an event.
- $("#options_table select").change(function() {
var color = $("#options_table select option:selected").text();
if (color='black') {
run blackshFunction code...
} else{
run brownshFunction code...
}
});