I have problems adding decimals to an array.
Doing it this way:
var array = [2.74, 48.39, 71.45, 85, 38.39];
var sum = 0;
//console.log(array.length);
for (var i = 0; i < array.length; i++) {
console...
I have the following code to upload files .csv and I need to show an alert , that is, a answer when I enter the succes , the problem is that it never enters the function.
$.ajax({
data: data,
type: "POST",...
I'm doing a web application where I mark points on the map based on the address obtained, as I do not have the coordinates of the address I want to mark researching I saw that Google has the Geocoder object that allows me to code the given addre...
I'm trying to create a array of Strings and give a value to each of the elements. Then calculate the length of each String and multiply each one by the previous multiplication. But it does not work.
<h2> DEMO </h2...
I have a function that makes a switch case to select a specific time for a certain element. The problem is that the cases are generated based on the number of elements in the database using the ID as the case number.
example:
swicth(---meto...
I'm trying to make the Pop Up only go out once to the user and I try to do it by going to save a cookie but I'm not managing to save it, Help Please ...
<!DOCTYPE html> <html lang="en">
<head>
<meta charset="UT...
In Google App Script I am doing an algorithm that consists in searching a file in the google drive and recording its URL for future use. To find the file I use the following sequence of instructions:
var files = DriveApp.searchFiles('title con...
The HTML6 language has these types of tags.
As it does not even work in the latest version of Chrome, much less in IE. I think a script could solve this problem.
How do I replace?
This is my code:
I'm following this guide , and I can not get it to work for me.
I have installed the pluggin and I have copied the following code in my method:
public enviarCorreo() {
let email = {
app: 'gmail',
to: '[email protected]',...