Questions tagged [multiple-select]

401 questions
5
votes
2 answers

get text of item by values multiple select using jquery/javascript

I need to get text of item by values in multiple select box. I have tried this code but it give me overall selected text with no separation or spacing. if ($("#<%=ddlSubject.ClientID %>").val()) { var values = $("#<%=ddlSubject.ClientID…
sp_m
  • 2,647
  • 8
  • 38
  • 62
5
votes
2 answers

change jquery chosen max_selected option dynamically

I've two select option, class and class_attr. class has 2 options: A and B class_attr has many options: aa, bb, cc, dd, ee, ... How do I implement if the user chooses A, the chosen max_selected is only 5 options, and if the user changes to B, the…
paugoo
  • 138
  • 1
  • 2
  • 11
4
votes
2 answers

Get custom attribute value from multiple select option using Jquery

I want to get custom attribute value from multiple select, here is my html,code
Erwin Augustijn
  • 101
  • 3
  • 10
4
votes
1 answer

PHP ( Wordpress) - Select multiple - show "selected" state not working

I can´t seem to get the multiple select to display the selected = "selected" attribute when saving or refreshing . Everything works (db insert is OK, results output OK), but i can not get the selected values to show after refreshing . I am trying…
Obmerk Kronen
  • 15,619
  • 16
  • 66
  • 105
3
votes
2 answers

Multiple selection in RoR form_for

I have a list of items that I want to have as options for a variable. They will be saved in the model as an array, and are to be displayed as a list in the form_for. I was using f.select(:var_name, [["option1"],["option2"],["option3"]], {},…
3
votes
2 answers

is there a better way to code a quotation form?

i am seeking advise and probably example code, links that will help me improve my quotation form. the current scenario is like that:- dynamic (select combo) rows are generated for items(from mysql database) along with empty input boxes for price and…
mmdel
  • 1,279
  • 4
  • 21
  • 30
3
votes
1 answer

Best way to combine multiple advanced mysql select queries

I have multiple select statements from different tables on the same database. I was using multiple, separate queries then loading to my array and sorting (again, after ordering in query). I would like to combine into one statement to speed up…
Ryan Thompson
  • 458
  • 5
  • 15
3
votes
1 answer

How to show a label together with startAdornment in Multiple Select in Material UI?

I am using the Select with the multiple prop. The component works fine, and the InputLabel renders the renders the following: However, when I add an icon at the beginning via the startAdornment prop, the InputLabel is moved above the input…
Hola
  • 329
  • 3
  • 18
3
votes
3 answers

React-native-multiple-select: Cannot read the property 'getSelectedItemsExt' of undefined

I am building an App and referring this link i implemented same code for my App, but i am getting error "Cannot read the property 'getSelectedItemsExt' of undefined". One more error is "submit" button is also not showing up. I have tried all the…
Khushboo Gupta
  • 113
  • 2
  • 16
3
votes
3 answers

Angularjs Multiple Select: Cannot read property 'length' of undefined

I have tried many variations but nothing seem to work. I am getting the following error: TypeError: Cannot read property 'length' of undefined at select.js:1560 at m.$broadcast (angular.js:18487) at Object.ctrl.select (select.js:673) at fn (eval at…
lumayara
  • 402
  • 6
  • 16
1 2
3
26 27