Questions tagged as 'javascript'

0
answers

Upload Screen

I'm here again. I have a page (index), which calls a javaScript, to put a graphic on the screen, I am getting it, however the graphic is taking a while to render and how much it does not render the screen is all white, , but I'm not getting i...
asked by 28.09.2018 / 15:27
0
answers

How to request another site?

Hello, I'm having trouble making a code that I have in mind. It would be as follows. I have a site that talks about the buses of my city and I am developing a code in php that looks for airbus and puts the line / route that it is. T...
asked by 28.09.2018 / 04:55
0
answers

subscribe xml Nfse using node.js

I need to sign an xml for Nfse, I'm using the xml-crypto librarian, however I get the return that the signature is incorrect. Can someone tell me another javascript library? Here's a snippet of my code with xml-crypto var SignedXml = require('...
asked by 28.09.2018 / 15:12
0
answers

Put a button to download a svg

I have the tag: <svg id="codBarras"></svg> It creates an SVG bar code for me. I need to know if there is a way to download this image with a button. If so, how do I make js pure?     
asked by 12.09.2018 / 21:55
0
answers

Why should I use Reflection in Javascript?

I wanted to know why I should use Reflection in JavaScript instead of normal operators. I just knew there was Reflection today and I wanted to know why it would be more useful to use Reflection instead of regular operators....
asked by 12.09.2018 / 18:42
0
answers

Function that traverses object within object and returns value in Javascript [duplicate]

I have a huge object with several other objects inside, similar to the example below const Carro = { GM : {'Corsa':'Motor MPFI', 'Celta':'Motor VHC'}, Volkswagen : {'Gol':'Motor AP', 'UP':'Motor TSI'} }...
asked by 10.09.2018 / 21:04
0
answers

Post (XMLHttpRequest) javascript does not work

Personal I'm developing an extension for Chrome, but the post part is not working. The information does not arrive. will the problem be the extension. chrome.extension.onMessage.addListener(function(request, sender) { if (request.action === "g...
asked by 10.09.2018 / 17:32
0
answers

Css / js effect of Flip card does not work on safari

I have a simple code that I developed, from a card flip effect, example below. It works on google quiet, but I found that in safari has a bug when the card turns, I researched, I found some prefixes for safari but I can not find a solution, l...
asked by 10.09.2018 / 20:47
1
answer

Private method in JAVASCRIPT Class

How to define a private method in a JavaScript class to make the msg_privada method as private (not externally visible) without changing the notation pattern? The msg_privada method should only be accessed by the class...
asked by 10.09.2018 / 19:46
0
answers

Screen Capture (Map)

I put a map on my website and I want to make a button that generates a png image when clicked on it, I used html2Canvas but when I click it it can not save the image of the map. Code used: <!DOCTYPE html> <html> <head>...
asked by 10.09.2018 / 13:36