I would like to hide certain elements from a dropdown that is created using the Chosen plugin.
I have tried removing it:
$( \'option:contains(\"Swatc
hide the option and update....
$('#button').click(function(){ $('select#theIDselect > option[value="Swatch 1"]').hide(); $('#theIDselect').trigger("chosen:updated"); });