All Questions
Tagged with jquery drop-down-menu
4,509
questions
1
vote
1
answer
273
views
How do I make a toggle switch trigger a select dropdown to randomize its option value?
I'm setting up a page for a character generator, and I'm giving users the option to either randomize traits or enter their own. I have the "choice vs random" options set up as toggle ...
0
votes
1
answer
196
views
How do I get the content to display in the other menu options?
Here is my complete code.
<html>
<head>
<meta charset="utf-8">
<title>Title</title>
<link rel="stylesheet" href="...
0
votes
1
answer
29
views
show/hide div on select change
I'm trying to show/hide a div element on select change depending on values which is working fine but problem is i am using multiple select box on single page and on change all values show hide at same ...
0
votes
1
answer
24
views
JQuery slideToggle works on local, but not live site
I have a few different jQuery slideToggles on my site and I have no issue but the mobile navigation menu I can't seem to work. I have it working fine on my local site but on my live site nothing ...
0
votes
0
answers
25
views
how can I get closest `selectbox` in a table ? `jquery` or `js`
I have a table like this:
<tr>
<td>
<select name="state" class="state-elem" onchange="shop_address_update(this)"></select>
</td>
&...
-1
votes
1
answer
146
views
dropdown-menu doesn't work inside the div or dynamically
I try to use "dropdown-menu", when it's outside div, it's works.
But when it's inside the div or added dynamically, it's not works.
Sample on jsfiddle
The code:
<link rel="stylesheet" ...
-1
votes
1
answer
1k
views
how to open select list by clicking a button in jQuery or Javascript
<body>
<form>
<select name="test" id="test">
<option value="one">one</option>
<option value="two&...
1
vote
1
answer
64
views
Using two variables set as DOM elements to create a new variable targeting both DOM elements
Another simple question which I think to be impossible, I am very hopeful you will once again prove me wrong!
Start off with two variables, pointing at DOM elements:
myFirstVariable = $('.my-little-...
0
votes
0
answers
33
views
Dropdown text Javascript suddenly stopped working
My javascript suddenly stopped working and I'm not sure why. I have a code that has a clickable title text, which then reveals another text below it. Could you guys take a look and let me know what ...
0
votes
0
answers
117
views
Dropdown menu code not quite right on mobile
I have built a menu on this page that is live: https://boys-cry.com/ and it was working fine until I added the mobile background content on a different section and duplicated the below code and one ...
2
votes
1
answer
47
views
How to set a simple jQuery hide/show function to show all before hide?
I have a drop down selection, once it select it will show the div where the value and class share the same name and hide all else.
How can I have it so before you select it'll show all and only hide ...
0
votes
2
answers
153
views
Turning an unordered list Table of Contents into a dropdown menu with JS/jQuery/CSS [duplicate]
I have an automatically generated table of contents that is an unordered list:
<ul class="elementor-toc__list-wrapper"><li class="elementor-toc__list-item"><div ...
0
votes
1
answer
33
views
Jquery Game-loop Selection Drop-down
Please help, how would you make a timer that runs some code for a time specifed by the user selecting an option from a dropdown menu ? Jquery please.
PS: I tried to attach my code but I'm getting ...
0
votes
0
answers
165
views
Add +/- increment counter to bootstrap selectpicker dropdown
I'm trying to add +/- increment counter to a selectpicker dropdown menu instead of just having a checkbox. I'm starting to think this might not be possible inside of a selectpicker.
Please be kind, ...
0
votes
1
answer
3k
views
Multiselect uncheck selected checkbox and select the current selection
I have developed a code where I can only do single select in a multiselect dropdown and it will disable the rest of the selection. Now I do not want to disable the checkbox and if I select new ...