Questions tagged as 'javascript'

1
answer

What value does the if () of this section of JavaScript take, true or false?

I'm new to JS and I want to know what value the if (drawer.style.left) takes, at the beginning it's worth -30% (which I think is false) so it goes to the else, and then when I press again enter the if, but I do not understand why if it is now wo...
asked by 28.08.2018 / 01:20
2
answers

Internet Explorer Compatibility with HTML

I have a drop-down list, when using Edge emulation and 10 it works without problem. When using the emulation of 9, 8 and 7 does not work. They could explain to me why this situation happens and how to solve the problem.     
asked by 30.08.2018 / 17:57
1
answer

Error: ENOENT: no such file or directory, stat 'C: \ public \ index.html'

Trying to visualize the main html file, I could not find the specific path, no matter how hard I tried. server.js import express from 'express'; import webpack from 'webpack'; import webpackDevMiddleware from 'webpack-dev-middleware'; impor...
asked by 26.03.2018 / 23:52
1
answer

Convert date in normal format

I have this date 2018-08-24T04:47:51.000Z in an unknown format How do I convert it to normal format, with javascript? Should I use the library temporarily?     
asked by 28.08.2018 / 01:15
2
answers

I need the images to have different div

I'm trying to get the img tags to have different ids. When uploading images that both have different ids but what happens is that both have the same id. if (input.files) { var files = input.files; var filesAmount = input.fil...
asked by 26.03.2018 / 20:24
1
answer

How to convert HTML to PDF with jsPDF, without losing CSS styles

I have the following HTML <!DOCTYPE html> <html lang="es"> <head> <title>hola</title> <meta charset="utf-8"> <link link="" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/f...
asked by 17.04.2018 / 17:26
1
answer

Get values of a json, save them in a variable, json.parse ()?

Hello, I'm working on a module that graphs data with Chart.js , then charts.js works with json, like almost everyone in the world, so I'm getting another json 2 and NULL , with them generate variables that tell me how many there are. I'm no...
asked by 09.04.2018 / 18:33
1
answer

How to prevent "being encoded as" in Razor?

Well the question here is that I'm working on a razor file and I'm wanting to create a json from an array in vb.net as follows: For Each ItineraryPnr In ItinerariesNode.ChildNodes arrayPnrRetrieve(contPnr) = New With {Key .trasactio...
asked by 14.03.2016 / 19:13
1
answer

Animation and functionality (html structure) expand and counter specific boxes inside a container

Good, I'm working on a model, I have some idea of how to proceed but complicate me in doing so. First, it is a structure of boxes (divs) inside a container, organized to the grid, by clicking on 1 of them, it must expand and the 2 that are in th...
asked by 22.09.2017 / 22:18
1
answer

Difference between responseText and response in ajax

Good! What is the difference between ResponseText and response of the XMLHttpRequest object? Thanks!     
asked by 22.07.2017 / 02:32