Questions tagged as 'html-select'

1
answer

Component select disabled and angular selected value

I have the following situation I have a select county component <div class="form-group col-md-4"> <label>Entidade:</label> <select ng-model="distrito.entidade.idEntidade" class="form-control">...
asked by 03.10.2017 / 14:17
1
answer

How to do a text search and the Select tag together?

I'm here because I'm having trouble doing a search like any other with <input text> and "search" button only with the tag <select> where it contains in each <option> a value of the search. The questi...
asked by 01.11.2016 / 16:42
1
answer

ng-options "selected" does not work

I'm using the ng-options function and it's listing correctly, it just is not showing the value marked as default: selected Code: <select class="form-control" ng-model="genericCustomersViewModel.customer.addresses[0].stateId"...
asked by 21.06.2016 / 14:38
1
answer

How to mount an array of select items from select in html and run it to organize items in javascript?

I have the code: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); associar.click(function() { var selecionado = permissoes.find...
asked by 24.02.2016 / 18:12
1
answer

How to get values from two html selects in javascript?

Basically I have the following code: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); var gravar = $("#gravar"); associar.click(f...
asked by 24.02.2016 / 21:38
1
answer

Chrome page auto scroll to select multiple with option selected

When using the multiple attribute, the page when loaded loads the last <select/> that contains a option with the selected attribute: Example in JSFiddle <p>No Google Chrome a página não fica aqui......
asked by 04.11.2014 / 21:59
1
answer

Creating a SELECT based on another SELECT

I'm using a SELECT that refreshes the page automatically after being selected. I have created another SELECT so that it works based on the previous SELECT, however, although the right amount of registration comes, there is nothing written. $ba...
asked by 24.10.2017 / 19:43
1
answer

How to select an option in select less laborious way?

I have a page called editarpublicacao.php which receives id through GET . One of the two <select> for example contained in the page, is similar to that of the companies: <select name="company" data-plac...
asked by 29.09.2017 / 17:43
3
answers

Disable all DropDownList Option's except whichever is selected

How to disable all options of a combo minus the value selected using JQuery. As in the image below: FollowtheHTMLintheimage:HTML<!DOCTYPEhtml><html><body><select><optiondisabledvalue="volvo">Volvo</o...
asked by 27.02.2015 / 19:32
3
answers

How to make language selector

I have a website and I need to put a language selector on it, when the user selects the flag corresponding to the desired language to be redirected to a specific url. <select> <option>Brazil</option> <option...
asked by 23.02.2016 / 18:16