Skip to main content

All Questions

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
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
-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
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
0 votes
1 answer
39 views

Select, hyperlinks and imported templates not working after file restructuring?

I am using jQuery to import universal template files into certain parts of my page. Everything was working perfectly until I organized my filing structure differently. Now along with the header, my ...
JMM's user avatar
  • 13
1 vote
1 answer
28 views

How to change option selection and change button link for multipe forms in a page?

How can I take the value from the option and update button link with the option value? I come across this solution but there are a few things which I want to achieve that are not covered. Example ...
Khurram's user avatar
  • 53
0 votes
0 answers
41 views

How to make the top element of a dropdown open when the page loads

I have this dropdown and I am trying to keep just have it open initially when the page loads, then users can click off of it or click on a different element of the dropdown to open another part of it ...
Wx_Trader's user avatar
0 votes
2 answers
51 views

How to show dropdown links in a particular order?

I want to show the drop-down links in a particular order. Right now the order is - Link 1 Link 3 Link 2 HTML Code - <ul class="navbar-nav"> <li class="nav-item dropdown&...
User's user avatar
  • 199
0 votes
1 answer
42 views

Show/hide section of site based on dropdown selection

Trying to figure out how to show/hide sections on my site's page, referencing this code here: How can I show and hide elements based on selected option with jQuery? I'm not sure where to put my data ...
Brendan's user avatar
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"> ...
showd's user avatar
  • 29
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 ...
user19551029's user avatar

15 30 50 per page
1
2 3 4 5
90