Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove <option> from <select> using jQuery #143

Closed
saifanam opened this issue Jun 21, 2014 · 0 comments
Closed

Remove <option> from <select> using jQuery #143

saifanam opened this issue Jun 21, 2014 · 0 comments

Comments

@saifanam
Copy link

I needed to dynamically remove an option from the herolist dropdown by selecting the option through its value attribute, like so:

$("#select_id option[value='foo']").remove();

This wasn't working in version 2.1.1. Now it's working like a charm in version 2.1.3. Thanks guys. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants