Most voted "selected-option" questions
15 questions
Sort by count of
-
2
votes3
answers2702
viewsDynamically populated option select list selected with Angularjs
I need to bring one select option with the selected option being filled dynamically. I have in my controller the filling of the list so: $scope.$watch('IdCategoria', function() {…
-
2
votes1
answer898
viewsng-options "Selected" does not work
I am using the ng-options function and it is listing correctly, only it is not showing the value marked as default: selected Code: <select class="form-control"…
-
1
votes1
answer634
viewsLoad a Combobox with Selected Value
I need to edit an equipment register that has multiple combos and when you click edit load the select already with the selected selected. I thought Laravel automatically identified, but it doesn’t…
-
1
votes1
answer60
viewsHow to make optgroup access a page
I have a code and I want it to work as follows: I created a list of options within a optgroup and I want as soon as I click on an option, it go to the page I want. Example: <optgroup>…
-
1
votes1
answer81
viewsHow to make a javascript function run correctly with <option> and <select> tag?
I’ve tried anyway and can’t get the javascript function compute 3 execute correctly. The result comes out with only one decimal and does not obey the option selected. Detail: the code needs to be in…
-
0
votes2
answers565
viewsSelect in Xamarin Forms, how would it be?
I am creating a contact form in Xamarin, and should have an option for the user to select the desired purpose, ie in html would exist a tag select with all the option, so what tags are used to…
-
0
votes0
answers247
viewsHow to show options of a select according to the chosen date?
Good evening, I am developing a website for scheduling laboratories and I needed to make a condition that according to the date that the user choose it will query in the database all the…
-
0
votes0
answers103
viewsJavascript / PHP - Popular Select
I’m using the code below to create options on SELECT LIST according to the choices made in the previous. <script type="text/javascript"> //Dados passados pelo controller $ufs =…
-
0
votes1
answer48
viewsSelect select option according to url parameter
i have the script below that takes a parameter from the URL(if it has), searches all selects of the page and selects the option with the same value(same value of the parameter). If you don’t have a…
-
0
votes1
answer63
views.val() does not work on the textarea tag
I’m taking a data that is in an attribute of my select-option (date-observation), so far so good, however when I try to pass this value to my textarea the value is not printed, just on the console,…
-
0
votes2
answers52
viewsRemove information select html
I have a page that has a select and I wanted to know which option was chosen in select <html> <body> <select class="form-control qa-product-options__quantity" name="quantidade"…
-
0
votes1
answer407
viewsDoubt - Dependent Combobox with Classic ASP
I have two tables in SQL: One of groups that has two columns: id and group One of products that has three columns: id, group and product In the products table, the column "group" is equivalent to…
-
0
votes0
answers14
viewsHow to pass to the form the dropdown selection of an API result
I created a form in React that searches for data from an API, and I need that in one of the form fields at the time of registration return the values of a second API (which has ID relation to the…
-
-1
votes1
answer23
views<Option> inside <Select> selected by default based on variable passed by URL
I want the course select to have the value(course) selected by default when the user accesses the page by the link. <html lang="pt-br"> <head> <meta charset="utf-8"> <meta…
-
-2
votes1
answer50
viewsinteract with Select option dynamically via javascript
I think this is already very simple, but unfortunately, the simplest is the most complicated for me to understand. lol my goal is simple and summarizing it further, make sure that when you select a…