Skip to main content

All Questions

Tagged with
0 votes
0 answers
38 views

Bootstrap 5 navbar dropdown with submenu and hyperlink

In my bootstrap navbar the dropdown have submenus and the submenus also have submenus along with hyperlink. When I am using in desktop the dropdown is showing the submenus on hover but in mobile it ...
Baby Babai's user avatar
0 votes
1 answer
31 views

The footer is adding multiple times below different select2 dropdown

I am using select 2 jquery plugin to create multiple multi select dropdowns, At some scenarios the footer is getting appended multiple times under the dropdown menu. For example if you open drodpown 1 ...
sd_30's user avatar
  • 626
-1 votes
0 answers
16 views

Close the select2 dropdown only when clicking on a specific button [duplicate]

I am using the Select2 jQuery plugin to create a dropdown. I have multiple dropdowns on my page. I want the dropdown to close only when licking on 'Apply', 'Cancel' or 'Reset' buttons. I don't want ...
sd_30's user avatar
  • 626
0 votes
1 answer
45 views

select2 date custom option is not opening if clicked again

$(document).ready(function() { ///dateee picker $("#date-range-options").select2({ placeholder: "Select", minimumResultsForSearch: -1, closeOnSelect: false, allowClear: false })...
sd_30's user avatar
  • 626
0 votes
0 answers
23 views

Create a dropdown flyout menu that is same size as dropdown and top position is the same

I am looking for a way to create something like my below example but only using javascript or jquery. Currently my example is using bootstrap and popper.js. Also.. what would you call this type of ...
Travis Michael Heller's user avatar
0 votes
0 answers
40 views

Safari bug when trying to set value to a select element

i have a form but when i try to set dynamically a value to a select element safari ignores my value and automatically selects the first element of the select field. my code works perfectly fine on ...
Mehdi Ziyadi's user avatar
0 votes
0 answers
71 views

n is not a constructor error for bs4.5.2 dropdown and jquery 3.5.1

In index.html, I have these included <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@...
Konduru Premsai's user avatar
0 votes
1 answer
30 views

Show Hide a div based on selected option value of a select using JS

Hi I have this code that is working on JSFiddle, but I cannot get it working on my website. My website is running on Wordpress 6.4.2 I have a select where I want a message to show if the selected ...
pinkequine's user avatar
0 votes
1 answer
130 views

Set dropdown text after Li click of dinamically added items

Bootstrap 5. This is my code, just the UL since once the page is loaded the list of <li> come dinamically from a database. <div class="btn-group"> <button id="...
Daniel Sh.'s user avatar
  • 2,074
0 votes
0 answers
42 views

Isotope filter with checkbox or select options with multiple choices

I tried to find how to make a classic checkbox filter group with my existing data-filter method but what I find on internet, they are all combined or use value, etc (https://codepen.io/desandro/pen/...
Igor Laszlo's user avatar
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
0 votes
1 answer
57 views

Using JQuery to show multi-ID content based on user SELECT input

I'm building a character wiki for my book series and trying to hide spoilers. The readers are shown a dropdown box asking them which is the last book they've completed. When they select this, the divs ...
AngstyG's user avatar
1 vote
1 answer
448 views

bootstrap-select selectpicker can't choose in dropdown-menu

I can't find a way to use the plugin bootstrap-select inside a dropdown-menu. The select just do not show. I have added this jQuery not to close the dropdown-menu by clicking in it: $(document).on(&...
London Smith's user avatar
  • 1,661
0 votes
1 answer
38 views

Django admin drop down menu dependent won't load

First, I know there are other post on topic but until now none worked for me hence here I am kindly asking your help. The task is simple: in Django Admin I have a form with a drop-down menu whose ...
LM_IT's user avatar
  • 188
0 votes
1 answer
31 views

Why is my select element not changing options?

I am using Jquery and Jquery-UI 1.7.2. The code itself is a tampermonkey script with the grants necessary for GM_setValue and GM_getValue already written. The part of the code that has the issue is ...
deniz's user avatar
  • 1
0 votes
0 answers
7 views

Ajax/Jquery Population of dropdownlist without accumulating the values from previous results

I have this parent dropdownlist named "dl_empID" and child dropdownlist named "dl_logs". dl_empID is the employee's refID while the dl_logs is the records of attendance. I want to ...
Ruffa Mae Amparo's user avatar
0 votes
0 answers
58 views

select2 in laravel doesn't appear

I want to use select2 in my Laravel but I am having problems with not being able to apply it to my form, how do I do it? form.blade.php @extends('layouts.app') <!-- Custom styles for this ...
Rakhmad Maulana's user avatar
0 votes
1 answer
37 views

Can't get this dropped down menu to work JQuery

On the code I am working below, in the tab called issues, when you hover over it a subsequent menu drops down. It disappears when you leave the tab which is good. However, I would like the new sub-...
user avatar
0 votes
1 answer
44 views

DropDown menu closes when click expandeable sub menu item

I have a dropdown menu (mobile view), it has a collapsible menu item, when I click on it, the dropdown menu closes and I cannot see the expandable menu items. I want the dropdown menu to stay open ...
Mazhar Habeeb's user avatar
0 votes
0 answers
31 views

Recursive Submenu Opening and Incorrect Active Class Assignment on Right Arrow Key Press

I'm currently working on a web application that has a menu system with submenus. I'm trying to implement arrow key functionality where the right arrow key should open a submenu, and the active class ...
Krish Patel's user avatar
2 votes
0 answers
76 views

Triggering change with value from API

I'm working on a project where I need to obtain current coords, save them as variables, send those parameters to GeoNames and obtain country code. That country code is meant to trigger a change event ...
user avatar
0 votes
0 answers
14 views

Issue with creating buttons from select options using jquery

I'm using jquery to make buttons that are connected to my select dropdown options (with the intention of hiding the drop down once these are working), but the loop seems to be iterating multiple times ...
michaelah's user avatar
1 vote
1 answer
39 views

How to create dropdown navigation using jQuery?

I tried creating a dropdown list that is visible when you hover over the link. I want to create a navigation menu that drops links when hover over the link using jQuery. I created a function such that ...
user avatar
-1 votes
2 answers
41 views

jQuery change function doesn't operate after submission error

I used this jQuery script in a simple form to show #x just when the yes option is selected on the dropdown (#field1). That works completely but the main problem is when a submission error occurs, the #...
Edman Center's user avatar
-2 votes
1 answer
1k views

How to create Searchable Select Drop down in HTML and CSS using only a select element

I want this select tag as searchable How to make this select tag searchable ? <div> <select name="code" id="code"> <option value="">Select ...
jones peter's user avatar
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
36 views

Trouble having a dropdown change an image being displayed

My goal is to have a series of 4 images that you can click, a drop-down menu appears, and a new selection can be made. The new selection should change the image to one that corresponds with the ...
Jacob Mason's user avatar
0 votes
1 answer
126 views

Cypress - empty select element list when executing in viewport [closed]

I'm trying to execute the following code: it('try select', () => { cy.visit('http://automationteststore.com/index.php?rt=account/create') cy.get('select:visible').eq(1).select(5, { force: true }) })...
Kenoid's user avatar
  • 1
0 votes
1 answer
40 views

JQuery not catching dropdown value

I'm making an API interface for scheduling package pickups. The API requires the number of packages, among other things. My project manager said he needed the number of packages to be a dropdown list. ...
evie_and_eevees's user avatar
0 votes
0 answers
39 views

How to log the value of a clone drop down?

I understand that when you change a selection, the state of the selection is stored in browser and the cloned node will never include the state of object/ element which is changed and/or stored by ...
genericdude76's user avatar

15 30 50 per page
1
2 3 4 5
151