Questions tagged as 'javascript'

1
answer

How to export a complex JSON response to XLS, with JavaScript?

Hello everyone! Do you know of any tool that can generate an XLS from a JSON response? I intend to make a query, without showing it in a table, and based on it elaborate the XLS as customizable as possible (similar to PHPEXCEL, where you h...
asked by 13.03.2017 / 23:43
0
answers

how does the Error.captureStackTrace () function with the following parameters, this, this.constructor? '

I'm handling errors, but I have this little problem, I saw this example, I know that the captureStackTrace () function allows me to capture the errors in a stack, but the parameters that I have do not understand its functionality, it does...
asked by 07.07.2017 / 19:50
0
answers

Knockout does not show the UI

I am trying to consume data from my API to show it in my HTML templates. I am using knockout.js for the client-server exchange. The following code contains the file cronologia.js , and an HTML file: function cronologiaViewMod...
asked by 16.03.2017 / 03:58
0
answers

ChartJs, Draw straight lines in bar chart [closed]

THE EXPECTED Be able to draw horizontal lines with labels and colors as seen in the photo. Set static scale from 0 to 300. My current code: JS var data = { labels: ["UNO"], datasets: [...
asked by 05.05.2017 / 12:56
0
answers

Add two Arrays in the form of list and viseversa [closed]

I have the Arrays a and b a = [1,2,3] b = [15,25,35] and I have the variale v v = 36 where v is the sum of some of the combinations between a and b , that is (according to the example): v = a[0] + b[2] I know I have to add...
asked by 07.05.2017 / 03:14
0
answers

How can heavy files be uploaded in javascript and PHP? [closed]

My question (as it appears in the title) How can heavy files be uploaded in javascript and PHP? What I want is, when a file exceeds 10MB will be partitions and upload to the server to PHP. To upload heavy files more than anything ...     
asked by 04.03.2017 / 04:45
2
answers

Undefined when reading XML file in JS

On an HTML5 page with JS that I have to do, I have to simulate RSS with an XML file (which simulates an html with a couple of own tags), which has articles, first showing a header with a link to the description . At the moment, the file reads it...
asked by 23.03.2017 / 15:55
1
answer

Data autocompletion with Booststrap Typeahead + Spring MVC and JavaScript from the database

I am trying to autocomplete data using the bootstrap typeahead. The idea is that, when you write a code in the input, do a search from the database. When selecting one of them, I automatically fill in the code and the name. I tried to do i...
asked by 08.03.2017 / 15:06
0
answers

Google Charts Library type Annotation Chart [closed]

My question is how to always make visible the points of this type of graph provided by the googles graphic library, as can be seen in the link that I leave below, only the points are shown when the mouse pops up. Say that for design reasons o...
asked by 08.03.2017 / 14:52
2
answers

Is it possible to create an html.exe app? [closed]

Good, I have in my hands a project where I make an animation known as pageflip (page effect for a virtual book), the situation is that most of the ways in which it can be done do not comply with the final product which said by the way, it is a v...
asked by 22.03.2017 / 15:51