Questions tagged as 'javascript'

1
answer

Bing API Consumption

I need to get the address of a Bing API image:    link This API returns me a JSON that contains this information I want, but I can not access it: { "images": [ { "startdate": "20181023", "fullstartdate": "20181023070...
asked by 23.10.2018 / 17:25
3
answers

React-chartjs-2 charts do not load on screen

import React, { Component } from 'react'; import {Bar} from 'react-chartjs-2'; import $ from 'jquery'; //NÚMERO DE VIAGENS POR MUNICIPIO class GeraGrafico extends Component{ constructor(props){ super(props); thi...
asked by 21.10.2018 / 15:37
2
answers

Line break in a function

I have a Javascript function that shows a text in an element with a "typewriter" effect, however I wanted to make this text come within a P (For line break) tag. can anybody help me? Thanks in advance. function EE(texto,ClassElemento,tempo){ v...
asked by 23.10.2018 / 15:48
1
answer

Alphabetic + numeric list dynamic

Hello, I'm trying to sort a list by char-date. I need you to keep it in descending order. I do not understand much of javascript / jquery, but through my searches, I got to the code below. But he is returning the order to me: c8 c2 b1 b13 a20 a1...
asked by 02.09.2018 / 18:59
2
answers

Return to previous page after signing in

I've set up a site where the user logs in by entering any Login and Password and storing it in LocalStorage. Which part of the site he tries to access always redirects to the Login page if he has not logged in at least 1 time. (Example: if it tr...
asked by 31.08.2018 / 18:53
1
answer

Status e-mail - nodemailer

Whenever I send a message using the nodemailer I have how to get the messageId example:    messageId: [email protected] Is it possible to make an appointment to check the status of this email? such as whether...
asked by 27.11.2018 / 20:28
1
answer

Drag and Drop eating images

I have a problem with a Drag and Drop. I have two divs, one where you have images that will be played to another div that has a specific image that can not be moved. But when I give Drop over an image (both in specific and in others) the image d...
asked by 25.11.2018 / 23:38
1
answer

How to clear / remove ALL elements of the array in javascript?

I'm creating a calculator in javascript for better learning and I'm having difficulty with remover todos os elementos do array . Do you know when you click on the " AC " button on the calculator and it removes everything? That's wh...
asked by 25.11.2018 / 23:06
1
answer

Clone table with checkbox values

   Updated code. Help from Edson Alves. I'm having trouble calculating Sum total when unchecking the checkbox. At the moment I'm marking, it calculates right, the problem is in the clearing that should subtract. $(".c").click(functio...
asked by 25.11.2018 / 00:52
1
answer

How to get a Blob response with AngularJs?

I was reading in the MDN documentation that it is possible to get a response Blob through ajax, according to the code below: var oReq = new XMLHttpRequest(); oReq.open("GET", "/myfile.png", true); oReq.responseType = "blob"; oReq.onloa...
asked by 09.08.2018 / 18:03