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 ...
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 ...
-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 ...
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 })...
7 votes
2 answers
14k views

How to make ipad like dropdownlist in desktop browsers using select tag of HTML and css only, is it possible?

I am working on a project where i have to give some style to a select box(dropdown list) ....this page will work almost on every devices (responsive web design) i have to give style to a select box ...
0 votes
3 answers
14k views

Close dropdown menu when clicking outside of it

I've got a problem with the navigation dropdown on my site that I've almost solved but can't quite fix. I'm worried I may have just made a mess out of my code. When I introduced a "scroll to anchor ...
0 votes
2 answers
8k views

jquery UI Multiselect Widget

I have been messing with this widget (http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/basic.htm) for a few hours now with no progress. I need the dropdown to function like the ...
4 votes
2 answers
3k views

How to search selected option of dropdown list using ctrl-f browser search?

I have multiple select dropdowns on my page. I need to find the selected option of dropdown using browser's ctrl-f search since the form is very long user can't scroll every time to find the selected ...
7 votes
3 answers
23k views

Bootstrap 3.3.6 and JQuery 3.1.0 not compatible?

Is it possible that these 2 (both are newest versions) aren't compatible? (In the snippets: The local files are the newest versions, the online retrieved files are older versions) Is there anything I ...
1422 votes
37 answers
2.3m views

jQuery Get Selected Option From Dropdown

Usually I use $("#id").val() to return the value of the selected option, but this time it doesn't work. The selected tag has the id aioConceptName html code <label for="name">...
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 ...
0 votes
5 answers
68 views

How to enable/disable and change color of some links depending on the selection user have made from a select dropdown menu

Hello. Any help will be greatly appreciated!. I have a html file where there is a select dropdown menu with 5 options and just below it there will be a yet not determined number of links. When user ...
2 votes
2 answers
9k views

opening a fancybox from a drop down box and passing the selected value to it directly

<select name="mySelectboxsituation_found" id="mySelectboxsituation_found"> <option value="100">Firecall</option> <option value="200">FireAlarm</option> <option ...
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 ...
0 votes
1 answer
948 views

How to append the same options to multiple select drop down boxes?

I am trying to add the same options to each drop down box listed but the options are only being added to the first drop down. function loadIgorMap() { $.getJSON('./iGorMap.json', function (data) {...

15 30 50 per page
1
2 3 4 5
301