Questions tagged as 'html-select'

2
answers

Is it possible to create a title for the "select" tag without it being part of the options?

I have a question about the "select" tag, if it is possible that it has a visible title without being part of the options?     
asked by 19.08.2016 / 19:02
2
answers

Copy a selected option from a select multiple to another select multiple with jquery

I want to copy a option or more selected options from a select multiple to another select multiple with jquery. <select id='cursos' multiple> <option selected>curso 1</option> <option selected>...
asked by 08.10.2014 / 00:50
1
answer

How to know the current position of an element in the option

<!DOCTYPE html> <html> <body> <select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="vw">VW</option> <option value="audi"...
asked by 04.05.2018 / 01:07
1
answer

How to separate and manipulate select data with js

I have a forum with a select field that has many options to select, I would like to split those options by forum area by two select . All areas and sub-areas are in a single select . Example: <div class="blockrow"&g...
asked by 10.03.2018 / 23:59
1
answer

Filter in Dynamic Select / Option

var escolas = ["UFSCAR", "USP"]; //var alunos = []; $(document).ready(function() { escolas.forEach(function(item) { $('select.lista-escola').append('<option>' + item + '</option>'); }); }); <script src="https:/...
asked by 01.04.2018 / 15:28
1
answer

Select with foreign key Laravel

Hello, I have been able to solve a foreign key problem now and I came across a second, I have no idea how to retrieve in a select in the view the data of another table. If anyone can give me a simple example, I would be grateful. My create, store...
asked by 26.03.2018 / 00:50
2
answers

Select does not select the correct value

I have the following problem: <select name="cargo" id="selectCargo" class="form-control show-tick maiuscula" required > <option value="">ESCOLHA A EMPRESA</option> <c:forEach items="${filaEmpresa }" var = "fil...
asked by 09.12.2017 / 13:32
1
answer

Select more than one item in select or something similar angularjs

I need to select more than one option in my select or something like it, is there a possibility? <select ng-model="modelcompraevenda.filial" class="form-control" > <option ng-selected="data.unit == 1" ng-selected="true"...
asked by 03.10.2017 / 21:23
1
answer

Select Component with an Angular Request

I have a select component <select class="selectpicker" data-live-search="true"> <option data-tokens="distrito">Distrito</option> <option data-tokens="bairro">Bairro</option> <option data...
asked by 16.10.2017 / 18:21
1
answer

How do I do when an option is disabled in select, does jquery detect this action (deselect)?

I'm having a problem when I uncheck an option on a particular select. I can not make the select option, when unchecked, return to its initial state, ie, reset. So, I thought of JQuery detecting when an option is cleared, but I do not know how to...
asked by 25.11.2016 / 12:19