Answers for "https://stackoverflow.com/questions/23318361/remove-a-dropdown-value-that-has-been-selected-from-another-dropdown-menu"

0

https://stackoverflow.com/questions/23318361/remove-a-dropdown-value-that-has-been-selected-from-another-dropdown-menu

var $selects = $("select");

$selects.on("change", function(){
    var value = this.value;
    
    $("option[value='" + value +"']", $selects).prop("disabled", true);    
});
Posted by: Guest on May-12-2021

Code answers related to "https://stackoverflow.com/questions/23318361/remove-a-dropdown-value-that-has-been-selected-from-another-dropdown-menu"

Browse Popular Code Answers by Language