Questions tagged as 'html-select'

0
answers

text-indent without working on the Edge in an element of type select

I applied a text-indent to a select, it works on all current browsers except Edge. Has anyone ever had this problem? any solution? Follow the code below: .form-control select{ width: 22.4%; height: 50px; margin-right: -0.25em;...
asked by 22.01.2016 / 15:18
0
answers

Select inside a button does not work in Firefox

I have a select inside button like so: <button type="button" class="btn btn-primary" id="l_ns" data-toggle="button"> Choose the N to be stage <select id='n_selector'...
asked by 18.09.2015 / 20:00
3
answers

hiding input component when selecting a value in the select field

I have a select component that brings the countries of the database <div class="form-group col-md-4"> <label>País *:</label> <select required="required" id="selecionaPais" ng-model="pessoasEnderecos.pais.idPa...
asked by 09.11.2017 / 12:23
2
answers

jQuery: .val () in select element only returns the value of the first option

I have a select element on my html page (code below): <section class="calc-tit-desc" id=""> <h3 id="calc-tit">Calculando Para Diarista Por Hora</h3> <p id="calc-desc">Calcule o valor do serviço de acordo com a quant...
asked by 20.09.2017 / 18:28
3
answers

How do I assign "selected" to a dynamic option?

I'm populating a SELECT from a JSON received via AJAX as follows: $.each(parsedData, function(i, produto) { $('select#produtos').append( $('<option></option>').val(produto.cod_produto).html(produto....
asked by 05.07.2016 / 20:12
1
answer

Select2 does not work on my pc but works on jsfidle

This code is in jsfidle, that is, it shows the stylized select and select it with an input search. <html> <head> <title>TESTE</title> <script src="https://ajax.googlea...
asked by 06.02.2018 / 02:00
1
answer

Generate options from a select (years) according to another selected field

I have a form to register dependents of a plan, where you can choose child, husband, father-in-law, etc. and then the year of birth I want you to select the type of relationship by changing the select options, eg Selecionar filho: Máximo an...
asked by 11.12.2017 / 13:10
2
answers

PHP how to leave select set

I have a select that takes the data from the database to do an insert: <div class="row"> <div class="form-group col-md-2"> <label for="marca">Marca</label> <?php...
asked by 27.01.2018 / 13:29
1
answer

How to disable option according to option selected?

I have a list of users and each of them will have one or more functions (example: Leader, To Knowledge, Participant). In case I choose the option "Leader", the other options (of that same select) should be disabled (since only one user can be...
asked by 20.11.2016 / 22:05
1
answer

How do I create "options" in Select from a worksheet? [closed]

I would like to know if it is possible to dynamically generate options in C # selection? For example, I have my selection: <select id="Selecao_itens" multiple="multiple" runat= server size="3" class="selection"> <option value=...
asked by 03.10.2018 / 15:00