Questions tagged as 'javascript'

1
answer

Compare and Order 2 Json files

I would like someone's help to compare and sort 2 files: .JSON (each file contains more than 4000 lines when viewed in the notepad ++) Let me explain: File1.json (imagine that this file has everything in Portuguese after 2 points (:))...
asked by 10.10.2017 / 16:17
1
answer

Touring Angular object 2 paging information

I'm working with Angular 2. First of all I do an API query and retrieve the information in JSON. With this method: getinvfechasensores(fecha1,fecha2){ return this._http.get(this.url+'getinvfechasensores/' +fecha1 + '/' + fecha2)...
asked by 10.10.2017 / 13:42
1
answer

How to add minutes to a time in a datetime-local input?

I am copying the value of a datetime-local input (date_ini) to another one once the user types in the first one (date_ter). However I would like to be able to add 20 more minutes to the result in the second input (date_ter) How could I do it?...
asked by 20.10.2017 / 15:58
0
answers

how to use the jalert, jconfirm, jprompt?

Hi I have the following code, I am trying this library of jquery.alert but it does not work for me when I click on the button, no message appears, I do not know what I'm missing <!DOCTYPE html> <html xmlns="http://www.w3.org/...
asked by 18.10.2017 / 00:25
2
answers

Sort the keys of an object manually

I have the following object array in my JavaScript code. var data = [ { ACC_OBSERVACIONES: 'Ninguna', COLOR: 'Rojo', MARCA: 'BMW', MODELO: 'i8', NOMBRE: 'Hoose'}, { ACC_OBSERVACIONES: 'Ninguna', COLOR:...
asked by 11.10.2017 / 19:47
1
answer

Validate that a field in yii 2 does not allow writing special characters like,. / - "

I want to validate the following in the crud generated by yii 2: - that the user can not write a specific special character such as; or as " He tried to implement it using JavaScript but he does not allow me and in addition to this I have anothe...
asked by 13.10.2017 / 02:48
0
answers

Compare data from a Table in BDD with another in memory

Hi, people, The question I have is about Asp.net in c #. First I will say that I have a code where I select an Excel file and it automatically generates a table where it puts all the data that the file contains (This with any Excel file that...
asked by 09.10.2017 / 16:39
1
answer

Can you enter my css folders in the assets folder of angular 4? [closed]

Hi everyone, I am implementing angular 4 in a project and my question is the following: how can I insert my css fonts and img files in the assets folder of angular?     
asked by 09.10.2017 / 16:45
0
answers

Selector does not work

Good afternoon, I have a table where I have a record selector checkbox. I want to select some records to change the value of a variable common to all of them but I have no way to pass those values by POST. Everything goes through a modal but I w...
asked by 06.10.2017 / 14:32
1
answer

How to change the value by the option name of an HTML select tag?

I hope and they are well, what happens is that I am consuming some services and the content of that value is painted as it comes from the database, as you well know that it is already productive and I do not have permission to do what the BD, an...
asked by 04.10.2017 / 14:48