Content of the page

How to remove drop-down option from html by javascipt

Content of the article

You can remove any option(s) from any drop-down using JavaScript. Look on the next code please:

css class '.mdf_taxonomy_pa_color' is container for drop-down with css class 'mdf_taxonomy' which makes filtration for taxonomy 'pa_color'.  In construction 'if' set terms ids which you want to remove. You can drop this script in your footer.php

More: