All Questions

1
answer

As I declare an attribute of type Date in Typescript (Angular 6)

I am using NodeJS + Angular6 to make a web application and I have a model called "Employee". My problem is that I have a file called "empleadoModel.ts" that has the code: //Importamos el archivo que necesitamos import { tipoEmpleadoModel } fro...
asked on 19.09.2018 / 01:52
2
answers

How to validate so that there is no Na in a field?

I have the following function that is sent to call when I enter the page, but at that time I still do not have the variables full with values, since they load up to fill a few combos and reload the page. The first time you enter, the field...
asked on 12.09.2018 / 04:27
1
answer

error: invalid use of void expression

In this code I skip the following error: invalid use of void expression. More precisely in return ciclo_Euleriano(g, g.getVertices().pop_front(), g.getVertices().pop_front()); and I do not know why it is. bool ciclo_Euleriano(con...
asked on 09.07.2018 / 19:05
2
answers

Convert TIMESTAMP field to time

I have a field TIMESTAMP in a field of a table in MySQL. TimeStamp 7/31/2018 5:58 7/31/2018 5:58 7/31/2018 5:57 7/31/2018 5:57 7/31/2018 5:55 I know how to format the field to be able to separate dates and time in Hours, Minutes...
asked on 13.09.2018 / 03:21
1
answer

logic problem when instantiating Javascript class

I'm starting with Javascript and POO , but when creating this class and writing the command to print in console, it only shows me the content of the object: (ƒ operacion(){ return this.n1+this.n2; }) What prevents me from receiving the...
asked on 21.09.2018 / 18:55
1
answer

How to customize a spinner on android

I want to customize a spinner, or create it if there is no case, that has a style like this: What form can it be made of? At the moment I just managed to create an XML that has the bottom of the spinner, but I do not know how to add the ar...
asked on 18.07.2018 / 17:41
1
answer

My Calendar is covered by the top bar

I have the following design and as you can see the calendar of DatePicker it covers the bar that I have at the top. Calendar function code $(document).ready(function(){ var date_input=$('input[name="date_inicio"]'); //our date...
asked on 09.07.2018 / 19:20
1
answer

Some idea of how to submit the button using javascript or jquery

Here I send the data but I have to press the button and I want to do it can also be done by pressing enter: <input type="text" name="fecha" id="fecha"> <input type="text" name="direccion" id="direccion"> <div id="enviar">Envi...
asked on 13.07.2018 / 02:56
2
answers

how can I return a different value according to the results of a query?

I have a query that in the sex part I throw it in Boolean, but I want that when I return 0 I'm a girl and when I'm 1 I'm a boy. SELECT Persona.Id, Persona.Nombre1 AS 'Primer Nombre', Persona.Nombre2 AS 'Seg...
asked on 19.07.2018 / 13:18
2
answers

How to position html elements with bootstrap

I have a page to add products to an invoice: You have a part to filter by name or code. Other part for sorting by category or price. Finally a edit not editable where the product name is put when clicking on one row, and that, along with...
asked on 11.07.2018 / 08:14