Questions tagged as 'html-select'

1
answer

plan selector that shows value in another imput

//função exibe data de hoje no campo cancelamento var dia, mes,ano; function Data(){ data = new Date(); dia = data.getDate(); mes = data.getMonth()+1; ano = data.getFullYear(); if...
asked by 01.07.2017 / 22:00
1
answer

Javascript - Prevent select option from select smaller than another

Hello. I'm making a system for scheduling by schedule. I have 2 select's: start and end. I need a function to prevent the end time, can not be less than the start + 3. Ex: start = 10, the end must be at least 13, and do not let it select 1...
asked by 12.05.2017 / 18:56
4
answers

Add mascara from a select

Good morning, I'm trying to add a mask to cpf from a select, but I'm not getting it. HTML <select class="form-control" id="select" style="width:100px;" title="Escolha..." name="select"> <option>Escolha...</option>...
asked by 17.04.2017 / 13:31
2
answers

How do I get the select back to the initial state after the deselect?

How can I make a return to the "start state" when I deselect a specific select option? Here is a simulation of my problem: link     
asked by 23.11.2016 / 21:05
0
answers

Catch the value of a select_tag and put in a variable

I want to get the value of this select_tag and put it in the link_to message <%= select_tag(:testee, options_for_select(CloneDatabaseController.find_all_models)) %> <%= link_to('Click here', controller: 'clone_database', action: 'sho...
asked by 13.12.2016 / 20:45
0
answers

doubts with tag select

I have the following select tag: <!--select--> <div class="uk-form-row"> <div class="uk-grid"> <div class="uk-width-medium-1-2">...
asked by 28.08.2016 / 21:54
0
answers

How to maintain state of a select?

It can be in jquery or angularjs help. I have the following picklist (handmade): <divclass="form group"> <label class="control-label col-md-3">Selecionar Empresas:</label> <select id="select1" name="sel...
asked by 01.02.2016 / 19:41
1
answer

Select related to another select, pulling bank data

I need to create a form that pulls the sql bank options. So far so good, I've done a while inside a query in php; echo '<SELECT NAME = "setor">'; while ( $temp = $setores->fetch_assoc() ) { echo '<OPTION>'.$temp['nom...
asked by 09.10.2017 / 15:14
1
answer

How do I get the text of a select with formBuilder? - Angular 6

I would like to get the value of the text and not the value of the select. <div class="form-group col-md-3"> <label for="ProductName">Product Name</label> <select id="ProductName" class="form-control"...
asked by 01.10.2018 / 18:32
1
answer

Search for other select results

Good morning guys! I have a code where I search for the city. Code below: <form name="frmBusca" method="post" class="w3-container w3-center w3-row-padding" action="<?php echo htmlentities($_SERVER['PHP_SELF'], ENT_QUOTES, "UTF-8"); ?&...
asked by 31.10.2018 / 15:02