Questions tagged as 'html-select'

3
answers

mat-select and event change

I'm trying to start a mat-select, I'm handling the data well, but I want to do something when one of the values is selected. I use angular 6, this is my ts code: import { Component, Input } from '@angular/core'; i...
asked by 22.05.2018 / 22:51
0
answers

Pass a value to a field

These are my models class Colegio(models.Model): id_colegio = models.AutoField(primary_key=True) nombre_colegio = models.CharField(max_length=100, blank=True, null=True) def __unicode__(self): return self.nombre_colegio...
asked by 02.11.2018 / 15:29
0
answers

How to get the value of dropdownlist generated dynamically in a table (datatables) with jquery

. Hello, I share this problem ... the data goes: With this part of the function I load the data in a datatables.net and in the last row I render the selects with the data of the database: var objTipo = new Object(); objTipo.i...
asked by 24.10.2018 / 03:47
2
answers

Store JavaScript variable within a PHP variable

The next problem is that when a person selects an option of a select, the value of that chosen option is obtained and stored within a php variable. Here I get the Id of the selected option. It occurs to me, for example, to use done or suc...
asked by 11.10.2018 / 03:57
2
answers

Apply selected on a select with Razor

I have the following code in a file with cshtml extension: @Html.DropDownList("TipoIdentificacionId", null, htmlAttributes: new { @class = "form-control" }) With which I load in a select a list that comes from the database, this does it wel...
asked by 16.05.2018 / 23:02
1
answer

Events javascript [closed]

Good morning, This is a row of my table, each of them has an onclick event. Pressing on the select calls that event something that it should not do. How can I do so that if you press on the select, open the select and if you press outside the...
asked by 17.01.2018 / 16:15