Small editing of kamijean code:
$('select.chosen-result option:contains("Swatch 1")').hide(); $('select.chosen-result').trigger("chosen:updated");
so itβs not selected, selected, but selected, not options, but option
to select by value, not by name, use
$('select.chosen-result option[value=830]').hide(); $('select.chosen-result').trigger("chosen:updated");
giacoder
source share