Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

Tagged with
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 ...
mellimel's user avatar
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="...
Andrew Crum's user avatar
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 ...
pooja9's user avatar
  • 21
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 ...
Greenhoe's user avatar
  • 1,051
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> &...
asharfsadatamini's user avatar
-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" ...
مهدی نبوی's user avatar
-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&...
Zainul Abideen's user avatar
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-...
Jason Is My Name's user avatar
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 ...
Moses Lin's user avatar
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 ...
Sam Lutostanski's user avatar
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 ...
Beep's user avatar
  • 2,783
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 ...
Davron's user avatar
  • 31
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 ...
viwe mgoduka's user avatar
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, ...
jrmusante1's user avatar
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 ...
David Lee's user avatar

15 30 50 per page
1
3 4
5
6 7
301