Questions tagged as 'javascript'

0
answers

how can I get a value that is within two dictionary

I have the value objeto={canal_venta} but if I print canal_veta it throws me {u'TEXT': u'RED', u'VALUE': u'RED'} that is, how can I access the sales channel value? I was trying this way, but it's wrong print objeto["can...
asked by 20.08.2018 / 13:09
0
answers

500 Internal Server Error in JavaScript

the error of the title already comes to me when it is accessible from the outside, that is to say when it is already "open" to the public, but obviously I have it as hidden; Someone would know the origin of the error since it gives me error in t...
asked by 20.08.2018 / 08:11
1
answer

Access JSON obtained through AJAX

I have a problem, no matter how hard I look for it, I can not find how I can access the array that I obtained after having made a query using AJX with PHP and sent the result in JSON format to javascript. I hope you can help me, I do not underst...
asked by 28.08.2018 / 20:38
1
answer

Problem getting value in NodeJS

I have a problem getting or filling a variable within a promise. the code is: var _TOKEN = ''; client.metodoGet(clientId, clientSecret) .then(function () { _TOKEN = client.authentications["XXXXXXX"].accessToken; console.log(_TOK...
asked by 28.08.2018 / 20:04
0
answers

Problems when using bb_serial_read python

These are developing a small panel of monitoring in flask and I want to acquire some data from the serial port, the function that I am using to acquire the serial is: import wiringpi import wiringpi2 #as wiringpi import random import time impo...
asked by 28.08.2018 / 22:08
1
answer

Problem with JS file on NodeJS server

I have a NodeJS server running on localhost, specifically that of the NPM package called http-server, the problem is that I'm running a js script, and I'm testing and recharging, the problem is that I have to turn the server off and on to show m...
asked by 17.08.2018 / 20:23
0
answers

Show properties of an object in javascript

I am working on an application that has an object called SessionContext, this object has session variables that are sometimes persistent, inside the application (I did not do it myself) there are many get and Set for example: var ctx = new Ses...
asked by 15.08.2018 / 02:47
1
answer

problems with if condition and functions

I'm having a couple of problems with the if condition, I'll leave the code: // Variables var serieButton = document.getElementById("serieButton"); var parallelButton = document.getElementById("parallelButton"); var realSerieZ1 = docum...
asked by 15.08.2018 / 03:51
0
answers

Equivalent of apache poi in javascript, angulgarjs or react

I want to download an xlsx file so that it can be read in google documents. In java you can use apache poi, I want to know what is the equivalent in javascript, angularjs or react. For my part I will look for it and if I find the solution, I wil...
asked by 17.08.2018 / 15:25
1
answer

Can an ajax request be made to this url?

I would like to know if I can make an ajax request to this web page to download videos from youtube, I do not get it, in theory this would be enough to download the file no? $(()=>{ const api = 'http://youtubedl.xyz/download'...
asked by 17.08.2018 / 16:28