Posts by Raphael Ornellas • 9 points
4 posts
-
0
votes1
answer203
viewsA: How do I count a javascript counter that is run by a function starting from the last number that stopped?
Maybe this will help you, if you can bring more information. var numeros = []; var n = localStorage.get('n') || 0; function SomaUm() { n++; localStorage.set('n', n); return numeros.push(n); }…
javascriptanswered Raphael Ornellas 9 -
-1
votes2
answers127
viewsA: Organize data from a Binding date into a table
Hello, you’re going through the same For obj. Try it like this: <tr> <td scope="col" v-for="ID in DadosSucesso.Id" :key="ID.Id">{{ ID }}</td> </tr> <tr> <td…
-
1
votes2
answers3490
viewsA: How to make Javascript read a value given by a user?
In the code below (I didn’t use jQuery) there are two events: one to detect the key at the time the value is entered in the input, and another to detect the click on "Send". // Função que mostra o…
javascriptanswered Raphael Ornellas 9 -
-1
votes2
answers119
viewsA: call include inside js
function showContent(id) { contents.forEach(content => { if (content.getAttribute('id') === id) content.classList.remove('hide'); else content.classList.add('hide'); }); tries to give a…
javascriptanswered Raphael Ornellas 9