Linked Questions

55 votes
18 answers
72k views

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 ...
ITRushn's user avatar
  • 555
52 votes
14 answers
206k views

<select > <option value="something">something</option> <option value="something_else">something else</option> </select> <input type="text" > So that when user ...
omg's user avatar
  • 141k
35 votes
8 answers
98k views

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(...
Phill Pafford's user avatar
12 votes
5 answers
19k views

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 ...
Caroline Elisa's user avatar
4 votes
7 answers
20k views

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="...
Bujji's user avatar
  • 1,737
4 votes
5 answers
11k views

i have below code snippet in jsp <HTML> <BODY> <select id="customerIds" onchange="doOperation()"> <option value="default"> Start..</option> ...
emilly's user avatar
  • 10.6k
0 votes
3 answers
13k views

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 ...
bryan151's user avatar
2 votes
3 answers
11k views

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 ...
RaceBase's user avatar
  • 19k
1 vote
6 answers
3k views

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 ...
waterlilly's user avatar
5 votes
3 answers
5k views

<select> <option>Jan</option> <option>Feb</option> <option>Mar</option> </select> The value which has been selected should not be appeared in ...
Shawn's user avatar
  • 51
6 votes
1 answer
8k views

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 ...
joe's user avatar
  • 8,704
5 votes
3 answers
6k views

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 ...
ninja's user avatar
  • 183
3 votes
1 answer
9k views

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 ...
Naruto's user avatar
  • 9,654
0 votes
5 answers
4k views

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 ...
JS Noob's user avatar
0 votes
4 answers
4k views

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 ...
MrM's user avatar
  • 22.1k

15 30 50 per page