Skip to content

Instantly share code, notes, and snippets.

Created May 1, 2016
Embed
What would you like to do?
$('.selectBox').change(function() {
var current = $(this).val();
$.each('.selectBox', function(key, val) {
if(current == val) {
$(this).val('Disabled');
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment