Questions tagged as 'javascript'

1
answer

When the timer expires

Good morning, I have a question that I have been working on for some time. I have 1 countdown timer, when the timer reaches 0, I want invisible buttons to be visible. I'm using Meteor JS with the following package: link E tenho o seguinte có...
asked by 18.05.2018 / 13:44
1
answer

Calling a function to refresh the page only

I have the following HTML that calls a JavaScript function: <div> <button id="avancar-aula">Avançar aula</button> </div> <script src="js/avanca-aula.js"></script> And I have the JS function: let...
asked by 18.05.2018 / 02:08
2
answers

When double clicking on the image of the ball a copy of the image is inserted into one of the divs randomly using this code snippet

<body> <div id="princ"> <div class="princ" id="header"></div> <div id="div1" class="interna">DIV 1</div> <div id="div2" class="interna">DIV 2</div>...
asked by 18.05.2018 / 03:08
0
answers

Doubt Socket.io Push Notification

Hello, I have an application made with node.js and socket.io which sends a push notification when the client.html page is open. my question is: How to send and receive notification even though the client.html page is closed. When the client.h...
asked by 01.06.2018 / 13:24
0
answers

Google chart - Treemap does not appear

Hello, I'm trying to plot a treemap with data coming from a BD (mysql), but nothing appears. I have tried several alternatives and to no avail. I already managed to plot several graphs, except the treemap, I believe that the problem is in the cr...
asked by 01.06.2018 / 14:24
1
answer

Setar Interval every 1 second [closed]

I have a problem: To check if the button is visible (it takes 30 minutes to appear.) But as the function varies to remove it, it can increase the time for it to appear so I think it is better to use Interval 1 second) , you need to set a 1-seco...
asked by 01.06.2018 / 16:42
1
answer

The length of an array does not update

By giving console to a array , with one (1) object, and in lenght of it, the expected return is obtained, then I update the array value, adding a new position, I give console in array and return says that there are two...
asked by 16.05.2018 / 18:28
1
answer

Changing src in an Iframe

Good morning, friends. I am making a page where there will be some videos from youtube, and with that I will have some links that when activated should pass the respective video into my iframe. But in the whole process, clicking the link in the...
asked by 16.05.2018 / 17:17
2
answers

Are you able to do a toggle button with two buttons?

I have a system to change the layout of the page for a night vision layout, but for that to happen I had to use two buttons, and I think it's better to use a toggle button to change the theme. If you can help I thank you. function applyThe...
asked by 16.05.2018 / 16:40
0
answers

Doubt - Upload page before loading

Recently I have analyzed websites and always getting doubts. It turns out that on some pages when I quickly enter and load a a diagrammed template of what you will have on the page. First shows the Next Page diagrammed andthenquicklyandloadi...
asked by 16.05.2018 / 22:16