Questions tagged as 'select'

1
answer

Create a select that depends on another

I have the following functional code: //DEFINIENDO VARIABLES GLOBALES br = "<br>"; olli = "<ol><li>"; liol = "</li></ol>"; olc = "</li></ol>"; ulli = "<ul><li>"; liul = "</li...
asked by 16.04.2018 / 01:17
1
answer

Javascript. Show data of a select field, would it have to do it with ajax?

What's up? ... I'm a bit new with javascript and wanted to consume something: I have a form that, in addition to several fields, has a select field. This select field when the list is displayed shows the name of records that are in a database....
asked by 27.10.2017 / 04:44
1
answer

Help with a SQL Query

In a SQL database, I have a part reference table with quantities, stock locations and stock entry date. I need to ask about to know what stock locations to get a certain number of pieces. Prioritize about locations that have the oldest entry dat...
asked by 15.11.2017 / 16:14
0
answers

FullCalendar V2 | V3 - Restrict the selection to a single frame

Hi, one help please, I'm using the jquery plugin FULLCALENDAR. And through the documentation I have managed to make some adjustments for my use. What I have not been able to do is for example: That if I have the calendar set up so that each f...
asked by 20.06.2017 / 21:08
1
answer

Add two elements of a dropdown in javascript

I have two lists (select) with different values. I would like the user to choose a value from each list and that by pressing a button the program will show the result of the sum. Here is what I have done so far. :) // Añadiendo los tipos...
asked by 20.06.2017 / 15:53
0
answers

How to select items by creating a rectangle with Angular 2/4?

I have a big problem with something I've been trying to do for a while now. I have this Angular 2/4 code in Plunker ( link ) to which you can select one or more cards dragging the mouse on the cards but it is not the exact implementation that...
asked by 30.06.2017 / 22:50
1
answer

Problem in consulting BD with related tables

Good morning. I have two tables, sessions and users. A field in the sessions table is related to a field in the users table (the "user" field in both). In the "users" table there will be users that will not have any value in the "num_acces...
asked by 24.10.2017 / 09:39
1
answer

Problem with a SELECT

I have the following SELECT generated by a JSON array with objects that are hotels. SELECT CONCAT( '[', GROUP_CONCAT(JSON_OBJECT('id', h.hotel_id , 'nom', h.nom, 'estrelles', h.categoria, 'puntuacio', h.puntacio, 'tipus', h...
asked by 16.03.2018 / 11:03
2
answers

Check MySQL duplicate records (only the first two)

Good morning, I'm new to subqueries, I have a table that registers ip addresses of computers connected to the day, my idea is to list only the first two or a computer corresponding to an ip address I explain (table equipment) my curr...
asked by 23.10.2017 / 06:37
2
answers

Help with Query without showing all the results

Good day, I have a little doubt, I hope you can support me. I'm doing a query in a DB, with the following code: select status as EstatusReporte, count (status) as TotalReportes from Reportes where CveAuxiliar = Numero group by Stat...
asked by 19.10.2018 / 17:42