Questions tagged as 'html-select'

2
answers

I need a button next to a select input, how to do it?

I need a button next to a select input. My code: <div class="form-group col-md-2"> <label for="inpIdPortador">ID Portador:</label> <sel...
asked by 08.06.2016 / 20:48
1
answer

retrieve data in a list for editing

In an edit page of the registration data, how to fill a selection with the information originally saved. Ex. In the registration form, a city was selected in a select. After saving, you have the option to edit the data, but I am not able to d...
asked by 07.04.2016 / 21:07
0
answers

Problem with Form (Select)

I have in the system a Select where the user can select a store and next to a date and with that generate graphics. BelowisthecodeforthisSelect: <div class="form-group col-lg-4"> <label for="loja" class="control-label" >Loja:&l...
asked by 04.01.2019 / 19:36
1
answer

Change background color of the iterative JavaScript select

Hello, guys. I'm having a hard time changing the background color of multiple selects in iteratively. I can already change, but I have to manually specify the index of the element for this to happen. Here's an example of what I'm doing: &l...
asked by 24.08.2018 / 21:06
1
answer

Change the HTML attribute in the option with JQUERY

I'm trying to change the value of the select field with option to disabled, but only when the user clicks the input field. See the image to understand better: Iwanttoexactlyleavethefirst"option" disabled only when the user clicks the fie...
asked by 10.05.2018 / 15:23
0
answers

List with all icons of Material Icons

Good morning, guys! I'm creating a form with SELECT where OPTIONS are icons of the Material Icons: <option data-icon="case" value="case">case</option> <option data-icon="favorite" value="favorite">favorite</option>...
asked by 16.04.2018 / 17:55
0
answers

Select dependendes in php

I'm entering information into a form and I need my selects to be dependent. In this case, I have two selects, containing state information and from the selected state, the city information will appear in the other select. How to make? <div...
asked by 07.03.2018 / 18:42
1
answer

How do I edit the scroll bar of a select tag? [duplicate]

<select id="select"> <option value="week"> Previsão Semanal</option> <option value="daily"> Previsão Diária</option> </select> I have this code here and in css I wanted to edit the scroll of the select...
asked by 02.12.2017 / 18:43
0
answers

angularjs setting select to be able to change

I have a grid with the select button where this button will load the grid data into a form so that it can be changed. It turns out that I am not able to set the select field with the data of the object that mounts the grid itself. Here are...
asked by 30.01.2018 / 14:04
1
answer

How do I pass a value from javascript to PHP?

I have a select that lists all my players: <select name="jogador" id="cod_jogador"> <option name=""></option> <?php foreach($jogadores as $jogador): ?> <option id="codigo" value="<?= $jogador['cod_...
asked by 10.08.2017 / 20:17