Questions tagged as 'javascript'

0
answers

PptxGenJS Scatter

I'm trying to make a scatter plot with PptxGenJS, now I can not get the horizontal axis to start from the minimum value I put in the graph data. That is, it always starts with the value 1. Below is the code, I greatly appreciate any help, thanks...
asked by 19.12.2018 / 20:11
0
answers

Error calling the attribute "name" in BD and Java web

In web java when I call the procedure list of the bd, I get the name "Juan Luis" (as it was created in the bd) but when I select edit I get only "Juan" drop procedure if exists actu_alumno; delimiter $$ create procedure actu_alumno(in nombre...
asked by 20.12.2018 / 17:43
1
answer

Filter rows only from the body of an html table with javascript

I have a table that represents the reservations, the detail is when I look for the room (s), the filter does not respect the <th> . How would you make the filter just take the rows of body of the table in javascript ....
asked by 19.12.2018 / 05:47
0
answers

Event Click Javascript runs on its own

I'm trying to create a listener in Javascript, and in any browser on the computer it works perfectly, but when I run the web from a mobile, the click event runs only, when you want, without having clicked ... This is my function: animatedMa...
asked by 20.12.2018 / 15:26
0
answers

Get image from a server by Ajax

I have the following code: $.ajax({ url: urls, type: "GET", beforeSend: function(req) { req.setRequestHeader("Accept", "text/plain"); } }).done(function(data, textStatus, jqXHR ) { console.log(data); }); I d...
asked by 19.12.2018 / 00:03
1
answer

Using variables outside the Fetch

I'm using the following Fetch: var bdresultados; if(respuesta.context.bueno){ fetch('/bd/').then(response =>{ return response.json(); }).then(data => { for(let indice of data){ bdresultados = ind...
asked by 19.12.2018 / 00:08
2
answers

calculate delivery date only taking into account the working days in javascript

var fechaIncio = new Date(); var fechaTotal = new Date(); var FechasFestivas = [ [1], [40], [19, 25], [19, 22], [1], [24, 29], [40], [15], [40], [9, 12], [1], [6, 25], ]; fechaTotal.setDate(fechaT...
asked by 21.12.2018 / 22:24
0
answers

Read and write the contents of a textbox in a local web from a javascript program running in a console

I am running a program in a console written in javascript, I need to be able to read and update a text box in a local web page (that only runs on my computer). The program is a robot that is used in a Discord server. The process would be serious...
asked by 21.12.2018 / 22:49
1
answer

Error importing tensorflow js in node

I want to use tensorflowjs in the terminal and I copy the code from the npm page and I get an error: (function (exports, require, module, __filename, __dirname) { import * as tf from '@tensorflow/tfjs';...
asked by 21.12.2018 / 22:32
0
answers

Javascript puts the same value to all the elements

Doing this puts the same value on all the progress bars: <td> <div class="progress"> <div class="progress-bar progress-bar-success progress-bar-striped active"...
asked by 18.12.2018 / 18:21