264 questions
0
votes
0
answers
1k
views
Can we implement shadcn select component without using Select.Trigger?
So, I'm trying to implement the below using shadcn select component:
I have an input box, and a button that makes an api call and gets the required result. So once the status of this api call is ...
-1
votes
1
answer
114
views
discprd.py select menu says interaction failed after few minutes
Basically I made a discord bot in python and I was trying to do something with select menus and modals, when I do /giftcardsend everything works, the embed and the select menu pops up, but after a few ...
0
votes
1
answer
53
views
Make discord generate search result
I want to create a music bot where users can search for keywords to get search results and then choose the song they want to listen to through a Select menu. However, I don't know how to add the ...
-2
votes
1
answer
70
views
How to use website selectmenu in C# code?
I have a website where there is 4 columns where the user can select from a Selectmenu where there is 4 items of data in each column.
I have a button and when the user clicks on it, I would like to ...
0
votes
1
answer
36
views
Html select menu ( without slash = google error, with slash = double slash at the end of url )
I have a select menu like this
<select name="languages">
<option value="https://www.example.com/language/en">English</option>
<option value="https://...
0
votes
1
answer
600
views
Discord.js Failing at linking up embeds with a SelectMenu builder
it might be a stupid question but since I'm a beginner I sadly don't understand most of how javascript works yet.
I'm trying to create a small Discord bot for a project that I'm working on and I would ...
0
votes
1
answer
558
views
Can't change timeout disnake.py
I write code in disnake.py. And I got a problem. The default timeout is 180, but I can't change it in any way. How do I get the select menu to work even after a bot restart? I will be very grateful
...
0
votes
1
answer
339
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 ...
0
votes
1
answer
225
views
Can't install SelectMenu
Collecting SelectMenu
Using cached SelectMenu-1.0.0b2.tar.gz (3.4 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-...
0
votes
1
answer
164
views
Can you trigger a jQuery UI selectmenu to appear when clicking another element?
I am using jQuery UI's selectmenu to style a <select> element on a page.
By default, it renders a <span> with class .ui-selectmenu-button which toggles the menu.
However, I would like to ...
0
votes
1
answer
203
views
Is it possible to create a custom object as a replacement for a HTML select? [closed]
I'm a little new to Javascript and I was wondering if it is possible to create a custom 3-column <div> or another object to replace <option> in my select menu as shown in the image below. ...
2
votes
1
answer
188
views
Linking Functionality Broken in Custom Select Menu
I'm working on an issue with a Wordpress site I'm working on. See page here: http://v2new.brandgineeringbydesign.com/blog/
In the right sidebar, there's a dropdown menu that I'm trying to customize ...
0
votes
1
answer
230
views
How to disable jquery-ui (widget) for a specific element?
I use Jquery-UI and accordingly the selectmenu-widget in my project. Can I disable the widget for a specific element, so that the select look and functionality returns to native?
I tried solutions ...
0
votes
0
answers
236
views
How to create a form in PHP with checkbox groups and associated select menu for each checkbox
I'm trying to do with PHP and HTML, a form that contains a group of checkboxes and drop-down menus.
I would like that for each chexboxes, there is an associated select menu.
I create checkbox groups ...
0
votes
1
answer
151
views
jquery ui selectmenu autofill
I have selectboxes transformed into dropdown menu via jquery ui selectmenu.
My problem is that when I autofill data dropdown menu does not autofills.
only when I press each selectbox when menu drops ...
0
votes
1
answer
245
views
How to get selected value in JqueryUI Selectmenu from out of the Change function?
i need to get selected option value in JqueryUI SelectMenu out of change event, But i can't get value out of Change function or selectmenu function,
how to do it/
var iSelectedValue;
var map="";
...
0
votes
2
answers
2k
views
Hide option in jQuery-UI selectmenu
It is an easy task to hide the option in a select.
jQuery("#bbb").hide();
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<select id="...
0
votes
1
answer
1k
views
How do I blast a local query against a local database in python/biopython?
First of all, I want to come clean that I am a super beginner in programming.
I have 2 zip files (containing one database each) and 4 fasta files (three containing a protein sequence each and one ...
0
votes
3
answers
2k
views
jQuery selectmenu onchange
I want to make a select menu with icons and the text you select should be shown in a text on top (or the icon). My problem is that the on change method is not working.
What's going wrong?
$(...
1
vote
2
answers
3k
views
Reset Select Menu to default in the on change event
hello i'm trying to reset the select menu to the defaul option immediatly after new item is selected. I never want the select menu to show the selected item. I have this select menu:
<select name=...
0
votes
1
answer
280
views
jQuery-UI's selectmenu is not following the scroll motion when it is inside an overflown div
When I am placing the jQuery selectmenu inside a div that has a CSS property overflow: scroll and is smaller then its content, then the dropdown menu is not following the scrolling inside the ...
1
vote
0
answers
44
views
SelectMenu from JQuery UI not selecting
On an older version of jquery (and related files), I had an issue where the menu that pops out of the selectmenu would appear in the top left corner no matter what. I updated all my files to the most ...
1
vote
1
answer
2k
views
jQueryUI selectmenu - Set selected option
How can I set the selected option on jQueryUI selectmenues?
I try to set the value of the second dropdown in the screenshot below, to "Prof" before disabling it.
I tried it like this:
$salutation....
0
votes
1
answer
128
views
How to specify custom rendering template for options in {{selectmenu}} tag
I am looking for an example where I can specify template for rendering options, so that I can render an option as a two part: span with a background color and a value.
Simillar to this https://...
1
vote
1
answer
353
views
jQueryui Selectmenu - save value
:)
I dont get how I can save the selected selectmenu-option into a variable?
Here is my Selectmenu:
<script>
$(function() {
$("#map").selectmenu();
});
</script>
<form ...
1
vote
1
answer
178
views
DC.js - Select Menu as a filter for Composite charts
My dataset is similar to this.
name,code,proc,subP,date,m,a,b,o,t
BW,1333,29,1,2015-12-29 02:30:00,10,0,0,0,10
BW,1333,29,1,2015-12-29 12:00:00,25,0,0,0,25
BW,1333,29,1,2015-12-30 12:00:00,26,0,0,0,...
1
vote
1
answer
401
views
DC.js Disable SelectMenu
I have two selectMenus, I want the selectMenu 2 to be disabled until the user interacts with selectMenu 1.
How to disable a dc.js - selectMenu in this scenario?
1
vote
3
answers
2k
views
KnockoutJS select option value
I'm trying to disable one select HTML element based on value from another select HTML element using KnockoutJS
HTML code for that part looks like:
<label for="searchBy">Search by:</label>...
0
votes
2
answers
2k
views
Adding a custom icon to a selectmenu
I'm working with JQuery & JQuery UI.
I followed the example on the JQuery UI demos for the custom rendering to add icons to the select menu items which is working well. What I'm having trouble ...
1
vote
0
answers
820
views
Change the background-color of jQuery selectmenu
I'm trying to change the width and background-color of jQuery selectmenus and inputs while creating the widget. I'm calling my JS-function like
fnElementAddWidget("select[name=ProduktionsstrangId]", "...
1
vote
2
answers
1k
views
jquery-ui: how to set the class name in the selectmenu item (option)?
I have a <select> form in which a unique class is set for one option:
<select id='mylist'>
<option value = '1'>One</option>
<option value = '2' class='my_element'&...
2
votes
1
answer
275
views
Move with iOS keyboard on Jquery UI selectmenu
I have a little problem with iOS safari keyboard and jquery UI selectmenu. With a computer keyboard you can move with the tab key on the fields of a form. In iOs there are two small arrow to move on ...
1
vote
1
answer
217
views
Jquery UI selectmenu keycodes 115/116 preventing?
https://jqueryui.com/selectmenu/ have very unusual event reaction on keycode 115 (F4). When u expand the list and click on F4 button, some and some+1 option selected for a change. In example from link ...
0
votes
1
answer
901
views
How to handle added options with multilineSelectmenu (jQuery UI Widget)
I want to use a jquery widget extension of multilineSelectmenu (https://github.com/ainterpreting/jquery-multilineSelectmenu).
However,
After opening the select box even once, new options (added by ...
1
vote
2
answers
1k
views
How to get the selected element of the dropdown selectMenu widgets having the same classes using jQuery?
I developed a dropdown list using the jQuery UI selectMenu widget. Although I developed a drop-down component in the Angular and reused it many times. Now the problem was that I gave the same class ...
1
vote
1
answer
1k
views
jquery-ui selectmenu - Encountered "no such method 'instance' for menu widget instance" while loading dropdown options dynamically
I have a drop down list(select list) with ID TestList.
I want to use this as selectmenu from jQuery UI. This drop down is getting dynamically populated so initially there are no options to this ...
1
vote
1
answer
837
views
How to create a fixed header of the dropdown list created by the selectMenu widget?
I created a dropdown list using the selectMenu jQuery widget. Here is the code for that.
$(function() {
$.widget("custom.mySelectMenu", $.ui.selectmenu, {
_renderMenu: function(...
0
votes
3
answers
2k
views
How to adjust the height of each row of the dropdown list based on the content of the second column?
I created a dropdown list using the selectMenu jQuery widget and then created a dropdown component using it in the Angular so that I'm able to reuse the same component. Now, the problem which I am ...
1
vote
1
answer
356
views
Unable to get jQuery-ui selectmenu to render
I am creating a select menu dynamically using javascript but I cannot see it on screen. I am not sure what I am missing.
I am using jQuery 2.2.4 and jQuery-ui 1.11.4
Here is my javascript:
var ...
0
votes
1
answer
1k
views
Why the dropdown elements gets shifted to left on hovering on each row?
I created a dropdown list using the selectMenu widget of the jQueryUI as shown in the below image:
Given below is the HTML code for this.
<html lang="en">
<head>
<meta charset="utf-...
1
vote
2
answers
4k
views
How to create 3 columns in the drop-down list using jQuery UI selectMenu widget?
I was given a task for creating a drop-down list consisting of 3 columns (in each row) as shown in the below image.
Now, I realized that the Selectmenu widget of the jQuery UI will fulfill my ...
1
vote
2
answers
2k
views
jquery-ui selectmenu fix on screen when i scrolling
On my site there is a panel (with vertical scrollbar) inside which elements are located.
<div id = 'panel' style = 'width: 200px; height: 600px; overflow-y: scroll;'>
<select id = '...
0
votes
1
answer
218
views
Selectmenu Jquery UI change event on pageload
I'm currently using JQuery UI SelectMenu Widget in my application. The options in the selectMenu are filled at runtime based on some values in sql tables.
Based on the option selected in the ...
0
votes
1
answer
67
views
CSS for <select> menu works ... sometimes
This is bizarre. I have a select menu that I've styled to display a hierarchical list.
I have multiple Firefox profiles setup to simulate multiple sessions. One is my "main" profile with numerous ...
0
votes
0
answers
50
views
How can I catch the events from my jQuery UI Selectmenu? [duplicate]
I'm trying to use the jQuery Selectmenu to add images to a dropdown in my Angular project. It works and looks great.
The trouble is I cannot intercept the changes to act when the user makes a ...
0
votes
1
answer
549
views
jQuery - ui-selectmenu-button blur()-event
Okay - so for some reason or another, the jQuery UI Selectmenu-button messes with both focus() and blur()-events - they do not trigger. Is there a way to get these events to trigger, without having to ...
0
votes
1
answer
326
views
jquery mobile select not refreshing widget
I'm stuck on this for a day now..main problem is, that I can't get the jqm widget for selectmenu to reflect the "selected" entry correctly.
I select the 2nd option, then reset..so it returns to 1st ...
0
votes
1
answer
372
views
Jquery on click not working after change event on selectmenu
I am trying to build a page in which list items are dynamically added under an "ul" element.
When a list item is clicked, it will open a selectmenu (jquery plugin)
User will select one of the values, ...
0
votes
1
answer
566
views
Select menu placeholder empty value grey text
I'm using this design:
AdminBSB Material Design
The design is using bootstrap-select. As you can see in the middle of the page, the -- Please select -- option is an empty value, but the text is ...
-1
votes
2
answers
212
views
selectmenu not aligned to jQuery UI buttons in the same line
In a 2017-child theme for WordPress I display 3 buttons and 1 selectmenu in one line using the following HTML code:
<p align="center">
<button id="prevBtn" disabled>&...