I would like to hide certain elements from a dropdown that is created using the Chosen plugin.
I have tried removing it:
$( 'option:contains("Swatch 1")').remove().trigger("chosen:updated");
and just hiding it:
$( '.chosen-results li:contains("Swatch 1")').css('display,'none');
But neither works.
See Colours dropdown: http://www.carolineelisa.com/test/wordpress/product/machine/
Any help appreciated :)