All Questions
Tagged with jquery drop-down-menu
4,509
questions
0
votes
1
answer
81
views
How can know select a element which has moved bellow the first line of elements
Good day, I am building a horizontal menu with several levels
At the end (right side) I have a hidden hamburger.
Here is the demo
As you can see, actually, there is an hamburger drop down menu. It ...
0
votes
2
answers
59
views
How can I remove a class to all element which are not a child of
I am following a css flex video and I am trying to build a menu with several levels. I am using jQuery to open and close a menu and sub-menu, and sub-sub-menu, etc.
Here is my demo.
I click on "...
0
votes
1
answer
58
views
showing undefined data and cannot find my dropdown id
I have question about the query selector, because I am passing a lot of function for my textboxes that will update different chart when using the dropdown list. I am always getting undefined in my ...
0
votes
2
answers
72
views
Get selected option from select list
I have the following select list and jQuery code to dynamically get the selected option:
<select id="form_instructions_instruction_select" name="form[instructions][instruction_select]...
0
votes
2
answers
1k
views
Pass dropdown value to onclick method
I have a dropdown and link. I'm trying to pass selected dropdown value to onclick.
<div>
<select class="browser-default custom-select" id="venflows">
...
0
votes
1
answer
287
views
How to open jQuery-UI-Selectmenu dropdown using 'ENTER' key using custom logic? Documentation only allows 'SPACE' key to open but not 'Enter' key
I am trying to use jQuery-UI-Selectmenu for a dropdown functionality.
According to the API documentation provided for select menu at https://api.jqueryui.com/selectmenu/, 'SPACE' key can be used to ...
1
vote
2
answers
998
views
Bootstrap dropdown in mobile menu not closing on click
in my website which is done in bootstrap, there is a mobile menu, then menu is like below:
<a class="nav-link" href="#" id="shop_submenu" role="button" data-bs-toggle="dropdown" aria-expanded="...
0
votes
1
answer
100
views
how to close dropdown on click in html using javascript
i have a website where there is a dropdown like below:
<li class="dropdown">
<a class="nav-link" href="#" id="shop_submenu" role="button" data-bs-toggle="dropdown" aria-expanded="false"&...
0
votes
1
answer
285
views
Place Range Slider into a DropDown
How do I place a range slider into a dropdown? I assume there is a simple way to do this, but I'm not sure of the best way.
I want to hide the range slider into a dropdown like the others, and make ...
1
vote
1
answer
369
views
How to add inline Javascript if condition to dropdown value?
How can I add an if condition within the code so that I can enable/disable the select based on boolean flag?
I have defined boolean property named isEnable. Based on this value I want to enable/...
0
votes
0
answers
467
views
Javascript inline if statement inside HTML?
How can I add if condition within the code so that I can Enable/disable the value based on boolean?
I have defined boolean variable isEnable. Based on the value of isEnable, I want to enable/disable ...
-1
votes
1
answer
247
views
Keep selected drop down menu option visible after page reload
I have an error message that only shows if the audio file isn't found. If it is found then people see an ON button. The error message can be clicked on to reload the page. I want it to remain on the ...
0
votes
1
answer
244
views
Saving user's text input and dropdown selections as items in an object with JavaScript/Jquery?
I built a page for a user to generate a game character, and it lets them either randomize or input their own choices for each trait. I have the randomization all set up, and it saves those selections ...
1
vote
1
answer
50
views
How to use an option in a selection element to run a function depending on the selected option
I aim to use a selected option (item01) on a selector element to run a specific function and this function should then apply a class to each of the objects inside of the array (array01) using the ids ...
0
votes
2
answers
608
views
SELECT Parent category from drop down, it will show child category in another drop down but repeating same child category
I'm facing an issue that I have created 2 tables one is parent_category and another is child_category. I fetch the parent categories in select option drop down.
My aim is to fetch the child category ...