All Questions

1
answer

Error sending my project to Angular production

I'm having a small problem when trying to send my project to production with the ng build --prod command. After executing said command, it performs an exhaustive compilation (AOT) compared to the execution of the ng serve command t...
asked on 17.07.2018 / 16:21
1
answer

How to insert a new row with data in an Excel spreadsheet

I am looking for help in a code that is complicating me a lot since I must use (at least I think so) the Range method. Find , which I have not managed to know how it works. What I need is a code with which you can enter new blank rows in an...
asked on 11.07.2018 / 15:40
1
answer

Count the input [] in javascripts

I have the following code where I create input [] with a button but I want to calculate the total input added for that value multiply it in another function in javascripts <script src="https://ajax.googleapis.com/ajax/libs/jquery/3....
asked on 18.07.2018 / 19:29
1
answer

Error saving a JavaScript promise in a variable

How can I save a value of a promise in javascript already tried with this function loadImage(url){ return new Promise((resolve, reject) => { const image = new Image(); image.addEventListener('load', () => {...
asked on 18.07.2018 / 02:31
1
answer

I need someone to help me with this query

I have a table details_messajeria1 which has two records, and I need collaboration for this query in mysql, since it throws me the two records and should only throw one ... the OR I have already replaced it with the AND and nothing...
asked on 13.07.2018 / 12:57
1
answer

Mark the first radio button generated with a loop in pug

I'm using pug to generate a list of radio buttons using a while loop: - var n = 0; while n < 11 input(type="radio", name="cb", id="cb"+n, value=n) label(for="cb"+n) #{n++} The problem is that in this way none is marked by de...
asked on 17.07.2018 / 16:46
1
answer

No AJAX response in aspx

I have a method in the codeBehind of a webForm in which I redirect an AJAX query [WebMethod] public string buscarUser(string name, string pass) { SqlDataReader rd; string resp = "CASA; return resp; } AJAX $(document).on('...
asked on 17.08.2018 / 21:46
1
answer

How to add a placeholder in a JPasswordField

As the title of my question indicates, I am trying to add a placeholder in a JPasswordField, however it could be said that I have achieved it halfway. What I have done so far is to use the following code (which I adapted from an answer I foun...
asked on 16.07.2018 / 19:03
2
answers

Structure correct for WITH in SQL Server

I have the following query: ;WITH TABLA1 AS ( SELECT COUNT(*) AS TOTAL_EMPLEADOS, TERRITORIO FROM AR_EMPLEADOS WHERE ANIO = 2018 AND TERRITORIO = 'A' GROUP BY TERRITORIO ) ;WITH TABLA2 AS ( SELECT COUNT(*) AS TOTAL_PRODUCTOS, TERRITORIO FROM...
asked on 28.08.2018 / 21:50
3
answers

How to tour a Collection in Laravel

This time I have a mental gap and I do not know what is escaping me .... I have the following collection, annex image: I have a model called Income and another called DetailInside, in which in the relations I have Income to Detail In...
asked on 14.07.2018 / 22:04