Questions tagged as 'javascript'

1
answer

Warning: Failed child context type: Invalid child context 'virtualizedCell.cellKey' of type 'number' supplied to 'CellRenderer', expected 'string'

Warning: Failed child context type: Invalid child context 'virtualizedCell.cellKey' of type 'number' supplied to 'CellRenderer', expected 'string'. in CellRenderer (at VirtualizedList.js:687) in AndroidHorizontalScrollContentView (at Scro...
asked by 05.12.2018 / 18:44
1
answer

Saving the value in a global variable created outside the scope of the function

<head> <meta charset="UTF-8" /> <meta name="viewport" content="width-device-width, initial-scale=1.0"> <link rel="stylesheet"href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script...
asked by 05.12.2018 / 00:06
1
answer

Handling message request in Ajax HTTP Status Code

I have a request in Ajax that asks for payments on a third-party server, I would like to know how I can handle HTTP errors. Example: 'server responded with a status of 404 (Not Found)' This error can happen for several reasons, but it only app...
asked by 03.12.2018 / 12:48
1
answer

Download a file generated in the backend by Angular2 +

Hello, I'm having problems downloading a backend-generated file in my angled project, I have the following method generateXlsx(obj) { let headers = new Headers(); let token = localStorage.getItem('token'); let client = localStorage.getItem('cl...
asked by 03.12.2018 / 17:07
1
answer

Rotate points belonging to a bezier curve on canvas js

Alright? I would like help with a problem I recently got while working with JS. I need to do a function in JS that can rotate a set of points present in a bezier curve. I've previously researched a way to do this point rotation, but everythin...
asked by 07.12.2018 / 01:34
1
answer

Google Analytics script error

Hello, I'm having an error in the Google-generated script in Analytics. Which is exactly this way: <script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXX-X"></script> <script> window.dataLayer =...
asked by 01.12.2018 / 12:29
2
answers

Reload the main script when completing ajax request

I'm developing an application where I have some views that are loaded into my <section id="view"> via ajax. The view loads normally, but functions that have been programmed with jQuery for all inputs, for example, do not work. As...
asked by 03.02.2018 / 04:51
1
answer

Does not run server.js

You are giving this error after npm run dev (I already installed the mongo and the npm models you need)    npm ERR! missing script: dev       npm ERR! A complete log of this run can be found in:   npm ERR! C: \ Users \ Getin-sds \ App...
asked by 29.11.2018 / 21:02
0
answers

GetJSON function does not display information on the screen

Good Night People, I really need some help. I'm dynamically mounting a table that lists an X quantity of calls. For this I am using AJAX to query in the database and display on the page. So good, no problem. But one of the items that I nee...
asked by 19.12.2018 / 01:05
0
answers

WebService Dataset FLUIG

I'm trying to implement a FLUIG (TOTVS) dataSet that requests an external ws to render a table in a wigdet, however when I perform or interact with Dataset object to get the data in the widget can not access. It's okay. var dataset = Datas...
asked by 18.12.2018 / 20:10