Category : drop-down-menu

I have a problem with my dropdown menu, I can show it if I click but I can’t hide it the remove function is missing, can you help me please ? I give you the part of the code you need if (current !== "index.html") { $(this).parents(‘.nav-item’).last().find(".nav-link").attr("aria-expanded", "true"); if ($(this).parents(‘.sub-menu’).length) { $(this).closest(‘.collapse’).addClass(‘show’); } } Source: ..

Read more

I have the following problem. I am editing an excel file with PHPSpreadsheet. The Excel file also contains its own drop-down menus. Strangely, when I edit Excel with PhpSpreadsheet, the content of the drop-down menu is set to font size 1. This cannot be edited in Excel either, it immediately switches back to font size ..

Read more

I have the JSON file like this [{ "amenity": ["bar", "restaurant", "college", "library", "school", "university", "atm", "bank", "clinic", "hospital", "pharmacy", "nursing_home", "cinema", "embassy", "fire_station", "police", "post_office", "toilets", ""], "Buildings": ["yes", "apartments", "bungalow", "hotel", "house", "residential", "commercial", "supermarket", "school", "religious", "hospital", "government", "college"], "highway": ["motorway", "trunk", "primary", "secondary", "tertiary", "unclassified", "residential", "pedestrian", "footway", "path", "bus_stop"] }] ..

Read more

I want to display second select if first select is "Professor" and if select is "Student" not display second dropdown. html: function privilegija() { privilegija = document.getElementById(“permisija5”) predmeti = document.getElementById(“predmeti”) if (privilegija === “Student”) { predmeti.display = “none” } else if (privilegija === “Professor”) { predmeti.display = “block” } } <label for=”permisija”>Privilegija</label> <select class=”permisija” id=”permisija5″ ..

Read more

Hi I have dynamically created drop down menus and I can correctly show them using v-Show, the problem is that I cannot click to show the single clicked element, but they all open below my code <div :class="{inizio : utenteAttivo.nome === contatti.nome}" class="conversazione px-5 pt-4 overflow-scroll"> <div style="line-height: .5rem;" :class="{ricevuto : item.stato === ‘inviato’}" class="messaggi ..

Read more

I am making a simple react application where the requirement is that I need to make dropdown using pure reactjs .. And the dropdown needs to be responsive as well.. The following mouse/click events are expected. Larger devices like Desktop screens: On hover Smaller devices like Mobile: On click Working Snippet function App() { React.useEffect(() ..

Read more