Skip to main content

All Questions

0 votes
1 answer
49 views

jquery-editable-select is not working in asp.net dropdownlist

I am trying to implement jquery-editable-select in asp.net dropdownlist tools but its not working while the same thing is working in html select dropdownlist Here is the code of Html Select ...
s.k.Soni's user avatar
  • 1,220
1 vote
2 answers
656 views

select 2 jquery custom attribute country name with capital name

I'm trying to add a custom attribute to select 2 options, Even if I search with "data-name" the option should show up <select name="countries" class="vat" id="...
Rakesh's user avatar
  • 31
0 votes
2 answers
1k views

If the selected option is greater than others, disable other options

I have two Selectbox groups. When the user selects an item from the 1st Selectbox group; According to the selected Value, I want to disable some of the items in the 2nd Selectbox group. Below is my ...
ozan's user avatar
  • 23
0 votes
1 answer
967 views

How to add dynamic selected option to a dynamically populated select list?

I'm trying to set the selected option text for a select menu to be whatever location is - this parameter has been passed into the updateDepartment function dynamically from a previous PHP request. The ...
price88's user avatar
  • 37
2 votes
2 answers
1k views

how to display a generated select option based on its row in a dynamic select box

I have some problem with displaying a select option after i add a new one in dynamic select box. So the one i have here display the result of first row select box. While i change the qty and click ...
Dave Christion's user avatar
0 votes
1 answer
84 views

Change option list text value based on <a> click

HTML <select id="sel"> <option>A</option> <option>B</option> <option>C</option> <option>D</option> <option>E&...
Eoin's user avatar
  • 147
0 votes
1 answer
1k views

How do I save the value of this PHP dropdown using jQuery? [duplicate]

I have this dropdown menu in PHP and I would like to get the selected value in jQuery: <p> Choose device type : <?php echo "<select id='...
showtime's user avatar
  • 1,442
0 votes
2 answers
598 views

How do I choose the selected "<option>" of an HTML "<select>" by it's text content in JavaScript? [closed]

I have the following HTML <select> element: <select id="account" class="form-control" name="account"> <option value="USFSDsdfsFLIJSD656FKLLS5admFOWEJF0SOF">5265241</option> ...
ray's user avatar
  • 31
0 votes
2 answers
336 views

Delete item from dropdown menu with jQuery doesn't work

I found several topics here about removing items from a dropdown HTML element. However, when I try it, it fails from a script, but works in the console in browser. The rest of the script works fine, ...
CMorgan's user avatar
  • 673
0 votes
1 answer
43 views

Change color of HTML <option> Tag using id element after being clicked

I tried to find a solution for this but i haven't found what i want. this is an example : <div class="custom-select" style="width:200px;"> <select> <option value="0">Select ...
Bob's user avatar
  • 63
3 votes
2 answers
3k views

Getting values from dropdown list jquery in the same class

Is it possible to get the values from two different dropdown list in the same class whenever either of them is clicked in jQuery without having to write two change functions. For instance: <...
teestunna's user avatar
  • 217
0 votes
2 answers
282 views

Get original value of select option

I have a button on a page to have users revert an input field option to what the original value was val = inputfield.text() if (!val){ val = $(inputfield).attr("value") } inputfield.val(val) ...
Bijan's user avatar
  • 8,208
0 votes
2 answers
2k views

Reset Dropdown Menu to First Option After OnClick

I have a drop down menu like below: <select onChange="window.open(this.value)"> <option selected="selected" value="">--select an url--</option> <option value="URL1">URL1</...
Jkil's user avatar
  • 19
2 votes
1 answer
40 views

My select box is being narrowed to two entries when I need to show more

The problem is that my select box items are being narrowed to 2 items The selected item and all. I need it to show all the items for function filterTheData() { debugger; var ...
GettingStarted's user avatar
2 votes
2 answers
2k views

Set selected value on dynamic dropdown list

I have the below code, so the user can select the language he desire: <label style="float: left; width: 50%;" for="system_language">Select Language:</label> <select id="...
Leonidas's user avatar

15 30 50 per page
1
2 3 4 5