Skip to main content

All Questions

0 votes
0 answers
35 views

Select boxes not keeping selected options

So, I'm new to development and I'm having some problems with a script. In practice, I have interconnected drop-down menus, which will filter the data on the display. The first country menu is what ...
PeW's user avatar
  • 1
0 votes
1 answer
39 views

How do I get my drop down menu to select the genre and only display the songs of that genre on the JQuery table?

package.json { "name": "songlist", "version": "1.0.0", "dependencies": {}, "songs": \[ { "title": "Hell ...
Rachel Bonanno's user avatar
1 vote
1 answer
1k views

Change select options with other select using JSON data - JQuery

I have a json data which looks like this: [{ "id": 9, "category": "Baby", "items": "[{\"value\":\"Baby Foods\"}]", ...
gxvr's user avatar
  • 346
-1 votes
1 answer
35 views

how to display dropdown in javascript

I am trying to display a dropdown - in the dropdown I am displaying some items which are in selected state, remaining should be displayed in dropdwon. Below is my code and array which I need to ...
Pavan Kp's user avatar
0 votes
1 answer
374 views

how to make a dropdown list using json format compatible with jquery

I have the following codes that works successfully with js but don't under jquery (precisely jquery mobile 1.4.5). let me describe it : In js folder I have json list that I put into a function ...
ubi's user avatar
  • 51
1 vote
1 answer
33 views

json jquery dropdown menus disable next button on default select not working

First excuse my language and poor understanding of coding (I'm doing this by trial and error). I have 2 dropdown menus that have a default option of "choose county" and Choose holiday park". When on ...
Pawprint's user avatar
0 votes
1 answer
19 views

How to make a drop down list which can be filtered by another drop down list in cshtml

I wonder,for example,when I select "blocka" with value of BLOCK_CD[10000] in the first drop down list, how can I make the second drop down list shows only OFFICE_NM[aaa] and [bbb] with value of [...
Xiao's user avatar
  • 3
1 vote
1 answer
987 views

Bind API returned data to dropdownlist

I am trying to bind a dropdown list via javascript/jquery (anyone will work). Here is my code I tried - $(document).ready(function () { $.ajax({ type:"POST", url: "function.php", ...
Rituparno Bhattacharya's user avatar
0 votes
0 answers
44 views

Creating buttons from a list composed of objects from API call

I have a section on my website to hold a drop-down list. I filled the list with objects from an API call. When I try to create buttons based on each country in the list, it appends "Denmark" ...
Samuel's user avatar
  • 1
1 vote
1 answer
1k views

create two values in drop down list using data passed through JSON and jQuery

I am passing HashMap using jQuery and JSON to JSP page. The values being returned to jQuery success function are as follows: Formatted JSON Data { "tableBird1":[ "001", "Eurasian ...
Jagruti's user avatar
  • 322
0 votes
1 answer
117 views

How to load JSON file and then populate data in select drop down menu?

Hi everyone I have JSON file that I should load and then populate the data. Element that should be populated is drop down menu with chosen JQuery library included. I'm wondering if my code is ...
espresso_coffee's user avatar
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
0 votes
0 answers
257 views

Populate a drop down list with JSON data using JQuery

As the title above says, I am currently trying to populate a drop down list with JSON data using JQuery, I tried adapting an example and came out with this code underneath however it's just populating ...
Jackington's user avatar
3 votes
3 answers
305 views

Default value of select in jQuery to getJSON data

Needing help with the snippet below. Upon a user selecting an option from the select the API URL is updated for the appropriate days wanted by a user. However, I have set a default value, both in the ...
Darren's user avatar
  • 2,240
4 votes
1 answer
9k views

Populate dropdown from json response

I want to populate my dropdown with json data. <select id="selectSkill"><option>Choose a skill</option></select> I have json in following format: [ { "SkillID": "100", ...
Huma Ali's user avatar
  • 1,779

15 30 50 per page
1
2 3 4 5 6