Linked Questions
35 questions linked to/from Hide options in a select list using jQuery
55 votes
18 answers
72k views
Hide select option in IE using jQuery
Currently I am using jQuery to hide/show select options using following code. $("#custcol7 option[value=" + sizeValue + "]").hide(); This works fine in Firefox, but doesnt do any good in other ...
52 votes
14 answers
206k views
How to dynamic filter options of <select > with jQuery?
<select > <option value="something">something</option> <option value="something_else">something else</option> </select> <input type="text" > So that when user ...
35 votes
8 answers
98k views
jQuery disable SELECT options based on Radio selected (Need support for all browsers)
Okay having a bit of trouble here, wanted to disable some of the options when selecting a radio. When ABC is selected disable the 1,2 & 3 options, etc... $("input:radio[@name='abc123']").click(...
12 votes
5 answers
19k views
How to hide or remove options from jQuery Chosen select dropdown
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 ...
4 votes
7 answers
20k views
Jquery - Filter list box based on the combobox
I have two lists one displays cars company and the second one displays all the cars Here is the first comboxbox ( The first option is ALL) <select id="company"> <option selected="...
4 votes
5 answers
11k views
Hiding/showing the select box options in jquery?
i have below code snippet in jsp <HTML> <BODY> <select id="customerIds" onchange="doOperation()"> <option value="default"> Start..</option> ...
0 votes
3 answers
13k views
jquery multiple dropdown filter menu
I have pictures hiding and showing based on a multiple dropdown menu selection. I am trying to have the 2 and possible more dropdown menus working together to refine a search. If I select an item in ...
2 votes
3 answers
11k views
Hide Options from Multiple Selection Box
I need to hide certain options from Multiple selection box using Javascript. I can't got for jQuery, and I am not allowed to. I have one more dropdown box, I am calling a js function which will be ...
1 vote
6 answers
3k views
hide() not working in IE
My code works perfect in firefox and gives error in IE. any ideas? I have a dropdown with various options, I am trying to show/hide options in another dropdown based on the selected value. function ...
5 votes
3 answers
5k views
Hide the selected option in select dropdown list
<select> <option>Jan</option> <option>Feb</option> <option>Mar</option> </select> The value which has been selected should not be appeared in ...
6 votes
1 answer
8k views
Hiding ListViewItem instead of removing it?
The common way to NOT display a ListViewItem is to remove it. I my current project, this makes things too complicated compared to the possibility of just hiding the item. Is there any way to hide a ...
5 votes
3 answers
6k views
trying to hide options from selectlist .. not working on chrome and ie
I have a select lists, which has lots of option. Depending on some input I want to hide few options from select list. To hide options from select list I have written jquery like $('#selectlist1 ...
3 votes
1 answer
9k views
How to hide and show select options
I'm very very new to jQuery. I Googled a lot before I'm asking, though it looks silly but for me its complicated. I have a simple <select> list which has around 4 values like this image shown ...
0 votes
5 answers
4k views
Javascript to hide select box elements not working in IE
Hey, not sure if I'm going about this the right way. I have two different select boxed. What needs to happen is when a certain item in box 1 is selected, certain items in box 2 are hidden. What I ...
0 votes
4 answers
4k views
How do I select an option by class?
I tried using $('.className').show(); and $('.className').hide(); but it doesn't seem to work in IE. Is there another way to group options by class in a drop down list? I found this question but the ...