Questions tagged as 'javascript'

1
answer

Update menu via ajax

When I clicked on the menu item of my application it always updated the page, I'm changing to update the pages via ajax however I'm having difficulty with functions with names based on the class event, example the delete function when I click it...
asked by 03.03.2018 / 19:53
2
answers

Jquery - Having 2 menu (hamburger), how to close a menu while the other is open?

Good afternoon everyone! I made a structure where in mobile I need to show 2 menu's, but when I click on a precise one the other close and I can not do it, currently I can only open and close if I click on it, could you help me? > Thank you...
asked by 13.03.2018 / 16:51
1
answer

Do not stop setTimeOut when changing browser tabs

I'm building a counter with vueJS and I noticed the count for when I change the focus of the flip; at first I'm using the setTimeout function of javscript: setTimeout(() => { this.time++ this.min = Math.floor(this.ti...
asked by 10.03.2018 / 20:31
1
answer

Select array to save

asked by 03.09.2018 / 16:38
1
answer

Generate a new JSON by manipulating the data of another JSON

I was participating in an internship test and the following problem was proposed to me: I would have to read the JSON below: [ { "nome":"Jabba, the Hutt", "jedi":false, "sistemas":[ "Tatooine" ] }, { "nome":"Chewbacca", "jedi":false, "sist...
asked by 03.09.2018 / 21:37
1
answer

Arrow function on slide

I would like to know if it is possible to make this slide that I adapted from "w3school", work with the arrows, and every time it skips image, the site will rise to the top again. HTML: <!DOCTYPE html> <html> <title>sli...
asked by 07.09.2018 / 21:06
1
answer

How to submit data from a JS array by PHP?

I have a form that has a table that will be generated as the user adds elements to it through the "Add" button. (One client can have multiple addresses) How many data will be generated, I will need an array. The only way I can do this is by u...
asked by 29.08.2018 / 19:32
1
answer

Pass variables on all renders

I have an application using NodeJS, Express (and a few more dependencies). I reduced the application to the file below to explain my question: app.js: // Dependências. const express = require('express'); // Criar a instância do express. le...
asked by 18.01.2018 / 17:16
1
answer

Is it possible to create a button that makes a person add the site on the mobile screen?

There's an Android shortcut on iOS that adds the site to your mobile screen, as an application, how do I make a button do that?     
asked by 17.01.2018 / 19:42
1
answer

Change CSS with Javascript to required field

I joined W3 Schools and got a sample code for a multi step form. In the "default" mode it did not go to the next step until all the fields are filled. It turns out that I need only some fields not to be null, others may be empty. I looked at...
asked by 21.01.2018 / 20:50