Most voted "dropdown" questions
A user interface control GUI element, similar to a listing box, which allows the user to choose a value from a list.
Learn more…144 questions
Sort by count of
-
1
votes1
answer70
viewsValue and ID at Dropdown Waterfall
Reference that can help you understand the code. Dropdown Cascata This part here I pass the values that will be added in the second Dropdown var classesList =…
-
1
votes1
answer58
viewsQuery and view in dropdownlist
Is giving the error below in dropdowList and do not understand why. Error: Cannot associate the 'System.Collections.Generic.List1[<>f__AnonymousType82[System.Int32,System. Stri ng]]' to type…
-
1
votes3
answers1253
viewsHow to set the first value in the combo?
Guys, I need some help: I’m trying to set the first state in the combo, I’ve put Selected but without success. Can someone tell me what might be wrong, or something to help me solve. My code:…
-
1
votes0
answers862
viewsCreating multidimensional array from query to BD Mysql
I have the following problem: I have a table in a Mysql database and in a code snippet I need to make the content recovered by a query made to this database be stored in a multidimensional…
-
1
votes1
answer812
viewsHow to create a sub submenu using bootstrap megamenu
Does anyone know how to create a sub-menu with megamenus? Thank you .navbar-default { color: #fff; background-color: #39b3d7; border-color: #269abc; } .navbar-default .navbar-nav > li > a {…
-
1
votes1
answer1175
viewsHow to take the value of a Dropdownlist to choose the action to be executed
I ask for your help to help me to assemble the following situation: I have a structure in EF database first where I have a type that the user must select and after selecting this type in the…
-
1
votes3
answers4152
views -
1
votes1
answer1008
viewsHow to solve dropdown menu problem that does not work on android?
I’m learning to program, I’ve done the whole site, and it’s pretty much the way I wanted it, at first I had problems with IE the menu didn’t work at all, I reworked the menu, I used examples I…
-
1
votes0
answers50
viewsPaged selectlist in Angular2
I have the following HTML code for the list: <select data-placeholder="Origem" id="origemNew" (click)="SelecionaOrigem($event,oportunidadeNew.operacao,true)" class="chosen-select col-md-12">…
-
1
votes3
answers62
viewsMy dropdown doesn’t matter bank options
I have a form with a dropdown, that should have as options users registered in a table of my database. The connection: <?php $connection = mysqli_connect("localhost", "root", "", "db_formacao");…
-
1
votes1
answer1884
viewsBootstrap navbar close
Hello, I am using bootstrap version 4.0 beta-2, and I have a question, how do I close the navbar menu after clicking on a list item? By default you need to click on the item and click again in the…
-
1
votes1
answer185
viewsWhy does this @Html.Dropdownlistfor not accept htmlAttributes?
I have a read-only view in some cases. I don’t want to use javascript as it can be disabled on the user side. At last... When I do this (for testing) it works perfectly. <div…
-
1
votes1
answer140
viewsDropdown in the navbar
I need a force here for a problem that’s killing me. I can’t get action on dropdown in my navbar. I am using Bootstrap 4.0 and jQuery 3.2.1. Follow my codes: <script…
-
1
votes2
answers168
viewsjavascript dropdown class in toggla
Guys I’m having trouble with my Nav. I was following a tutorial on how to make the navbar responsive and disappear when it comes off the top. However its drop-down menu does not work, I tried to…
-
1
votes2
answers107
viewsmy dropdown comes off the screen, how do I get it down to the opposite side?
The dropdown of the stroller, comes out of the picture, it is possible to make it descend to the left side? here is the code: @import…
-
1
votes2
answers2482
viewsHow to display Dropdown just by hovering over the content?
I would like to know I can display this dropdown without the user needing to click to have their content accessed, just by sliding the mouse over the MSDNAA-Microsft, for example. <li…
-
1
votes0
answers138
viewshtml dropdown treatment for many options
I have a dropdown that is fed in PHP by consulting an Oracle database. It is working normally, but the amount it returns is 15,000 records and each record is an option in the dropdown. It makes the…
-
1
votes1
answer25
viewsOpen dropdown without it being a daughter tag
Good morning guys, I could create a dropdown without it needing to be a daughter tag? I’ll explain with code. We usually do this: .menu-dropdown {display: none;list-style: none;} .menu:hover…
-
1
votes1
answer39
viewsHow to leave the menu with a "dropdown" option
I put in the menu bar an option with "dropdown", only when I click, it gets bugged on the site (goes to the bottom line) <!DOCTYPE HTML> <html> <head> <title>Brown…
-
1
votes2
answers208
viewsDropdown menu superimposing
I created a menu dropdown, submenu dropdown, The problem is that when I click one submenu and then another, the first one doesn’t close. What could be? <script…
-
1
votes2
answers57
viewsPopulating dropdown with multilevel json
Gentlemen, I’d like some help. I need to popular a dropdown from a json file { "Categorias": [ { "categoria": "Automação", "subcategoria": ["supervisório", "programação", "servidor", "hardware"] },…
-
1
votes0
answers13
viewsDropdown responsive menu does not work properly on mobile devices, how to resolve?
Hello, I’m building a responsive web page with a dropdown menu. In the desktop browser it works blza, but on mobile does not work, the page just decreases in size without doing the dropdown. I use…
-
1
votes1
answer156
viewsHow to change the size of the Dropdownbutton list?
I’m new to Flutter and created a Dropdownbutton where it works perfectly. But I need the same when opened, do not fill the entire screen as shown in image 1 and 2. I need the Dropdownbutton open its…
-
0
votes1
answer186
viewsDropdownlist does not work within Detailsview
I have a DetailsView with several fields and a DropDownList that should update the field sexoAnimal with Male (M) or Female (F). I added a ControlParameter in the SqlDataSource, the parameter takes…
-
0
votes4
answers129
viewsProblem with positioning of div
Good afternoon, you guys, I’m doing a Dropdown menu on a website, I’m having the following difficulty, when I hover over the item, the subitens are below a plugin that uses banner. Ex: If I put to…
-
0
votes1
answer333
viewsAlign size according to larger text
I have a menu and some submenus, I need the submenu to be aligned width from it according to the larger text, because there are texts that can contain only 5 words but texts in the submenu that can…
-
0
votes1
answer276
viewsHow to get values to popular a dropdown dynamically
I am developing in . NET MVC and in my application, I have a form that registers people via Ajax. This registered element should appear in a list dropdown, it should appear dynamically without…
-
0
votes1
answer98
views -
0
votes1
answer1829
viewsDropdown menu with Bootstrap
I wanted to know how to make a menu that is dropdown, when it is accessible in mobile continue dropdown. I have the website www.ktfdistribuidora.com.br, in the "products" tab is a dropdown. In…
-
0
votes1
answer26
viewsSend selected value to an Insert.php file
Good afternoon! I wonder if there is a way to perform an Insert in the database from a selection in a Dropdown. This selection would be sent to a file (example) "Insert.php", in which you would…
-
0
votes1
answer75
viewsDropdown in purecss does not work in menu
I was creating an example menu dropdown with purecss, at first it worked, the submenus appeared all right, when I went to make the same example only in the responsive format (where I used this…
-
0
votes1
answer22
viewsVB.NET Manipulating a "Birthday Drop Down"
Hey there, guys! I’m having trouble setting a date on a Dropdown from Yahoo’s website... The website link is: https://na.edit.yahoo.com/registration?.pd=&intl=br Here’s what I’m trying to do,…
-
0
votes1
answer124
viewsDropdown menu changing footer positioning
When opening the list of options, the footer is affected and has its position changed. Code on the fiddle…
-
0
votes0
answers58
viewsHow to disable an item from the list so it won’t be checked, to just show in the combo?
How do I leave an item disabled in this plugin: ui multiselect.? http://embed.plnkr.co/xWvfWYjaW7TThKZONkv5/ Code: angular.module('ui.multiselect', []) //from bootstrap-ui typeahead parser…
-
0
votes0
answers149
viewsError loading cascading dropdownlist
I am trying to load a dropdownlist cities according to the selected state and am encountering an error. I managed to carry out the operation in a template I downloaded from the internet, but I’m not…
-
0
votes0
answers110
viewsDependent checkbox
I have a problem and I was wondering if you could help me. I have a CRUD that registers cycles, these cycles can have many courses. What I wanted to do exactly, is validate the selectsOneRadios when…
-
0
votes2
answers189
viewsAsp.Net Dropdownlist tooltip or title with JS
I’m starting in Javascript, and would like my DropDownList of a control .ascx, when selecting an item, display its full value when you hover over it, as if it were a tooltip or title. This is my…
-
0
votes1
answer955
viewsDropdown menu does not adjust the screen
I have a dropdown button that serves as a menu of the site, only it stays in the right corner of the site and ends up leaving the screen, follow print of the problem: I want it to stay inside the…
-
0
votes2
answers2311
viewsHow to Make Dropdown Menu with Pop-up Effect
$(function () { $(".menu2").hide(); $(".open").stop(true, true).mouseover(function() { $(".menu2").fadeIn(100).animate({ top: '-50' }, 400); }); $(".open").mouseleave(function() {…
-
0
votes1
answer790
viewsVertical dropdown menu - Bootstrap
I’m making a page where there’s a dropdown menu and each menu item changes the contents of the left div. My problem is that when you click on this menu and it shows your submenu, it should play…
-
0
votes1
answer318
viewsDropdown already selected
I dropdown with Angularjs in the following way <ui-select ng-model="SelectedItem.LegalEntity" theme="bootstrap" reset-search-input="false" style="width: 100%" id="legalEntityId"…
-
0
votes2
answers544
viewsHow to add options to a drop-down list using jQuery?
I have a role in jQuery who receives a array from PHP, through the $.post. The array comes like this: array( '0' => array( 'ID' => '1', 'NOME' => 'João' ), '1' => array( 'ID' => '2',…
-
0
votes1
answer64
viewsJavascript menu level 2/4 with error
How do I define the same code, with different variables, but to perform the same action. I tried to rewrite it and still, the Javascript is in error, in case it would be a dropdown menu, with up to…
-
0
votes2
answers228
viewsDropdown menu bootstrap
My bootstrap dropdown menu is buggered, so if anyone can help... CSS: http://pastebin.com/FWPahxUk http://image.prntscr.com/image/5b6dc92ca1c24ded880084b3f1cd04f8.png <div class="navbar…
-
0
votes1
answer44
viewsDropdown opening with click
how are you? So, I’m trying to detach from bootstrap in this project that I’m doing (to improve my front-end practices and also because I’ve done a lot of site styles, if I implemented bootstrap…
-
0
votes1
answer672
viewsDropdown menu dynamic html
Hello, I have this page in html and would like to know how I can do so so that when changing the item chosen in the dropdown menu, the html fields change. <fieldset id="fsItem">…
-
0
votes1
answer185
viewsDropdown menu hiding list depending on screen size
I managed to do with the Jquery show and hide the menu as I click the button, but I would like the menu to be hidden already if the screen was less than or equal to 768 pixels. Could someone give me…
-
0
votes0
answers47
viewsList data in a Dropdown related to the result of another Dropdown
I’m rephrasing that question, because it must not have been very clear. What I want is this: Choose a restaurant at Dropdown, and the next dropdown, list the times that were registered by that…
-
0
votes1
answer335
viewsCreating a Dropdownlist
I’m using Asp.net-mvc-5, and wanted to know how to create a Dropdownlist without being in this pattern here: <div id="conteudoEscolha"> @Html.DropDownList("", null, htmlAttributes: new {…
-
0
votes1
answer162
viewsNested dropdowns don’t work. Why?
I have a dropdown inside the other. the first one works, it opens the dropdown to the list of items. I tried to put another dropdown inside that list but it doesn’t work. Listing and connection do…