Questions tagged as 'javascript'

1
answer

Get rid of a component using jQuery when loading the page. And then it appears after a certain event in a while loop

I created a jokenpo game and want to put a while to request a value for the user. I need that when document is loaded texbox sum. $(document).ready(function(){ var choice = null; var vitoriaPlayer = 0;...
asked by 01.11.2017 / 23:46
1
answer

Onblur cleans the field

This code computes the difference between dates: <!DOCTYPE html> <html> <head> <title></title> </head> <body> <form method="post" action=""> <input type="DateTime" onblu...
asked by 19.10.2017 / 16:58
1
answer

At the click of the button, content is slow to load

When you click the button sem fio bus the content will be displayed has a delay of about 10 seconds, sometimes I have to make a 5 clicks to show the information I want. How to take this delay? index <!DOCTYPE html> <h...
asked by 20.10.2017 / 17:42
0
answers

How to read a dataLayer?

Good afternoon guys, I need to bring a dataLayer to my system. The people working with Google Tag Manager have created some dataLayer and I need to get some information with the javascript to use in other places. How can I read a certain d...
asked by 03.11.2017 / 18:23
0
answers

API Slim returns error only with AJAX request

Hello, I developed an API using the Slim Framework and testing one of the endpoints that with Postman works perfectly but when I do the AJAX request, although it is sending exactly the same data that I send with postman, it seems that the data do...
asked by 03.11.2017 / 17:23
1
answer

When I use Express.js and Angular? (using Node.js)

Hello, good evening guys, I started to study Node.JS about 2 weeks ago, and I am in doubt about these 2 frameworks, because in the video lessons I was initially seeing about Node.Js, the boy only used Express as Framework. But everywhere I look I...
asked by 14.10.2017 / 06:54
1
answer

Dynamic Import with Webpack

In a VueJS application with template Webpack , I need to import a series of SVG's according to a user's parameters. SVG's are fixed files, but are loaded dynamically into the application. If I import all the files at once, the bundl...
asked by 13.10.2017 / 19:24
0
answers

Google Forms - Hidden Field [closed]

Through Google Script, can I leave a field visible if a certain option is selected in another field?     
asked by 13.10.2017 / 17:15
0
answers

Loop of cart products at transparent pagseguro checkout

Good morning everyone, I have a question and a problem to solve. I'm setting up a transparent checkout, and it works by the way. Currently I put products in the cart, I add the subtotals, to make a total result and it's perfect, and when I se...
asked by 06.11.2017 / 05:15
1
answer

Capture line only

I have a table created in array, and the modal button opens a table for selection of units of weight / measure, but when the selection is captured it fills the whole table as in the picture below. How do I fill in the line only? Opentablestr...
asked by 06.11.2017 / 13:48