Posts by Renato Oliveira • 51 points
4 posts
-
3
votes2
answers65
viewsQ: Print an Array in <li> line by line with javascript
I need to place the array values inside a list (li), line by line, but the result received brings values in single line. let x = [ { y: 'Título 1', z: ['1' , '2'] } ]; html = ''; for(let i of x){…
-
1
votes1
answer153
viewsQ: How to get the array value at the moment of clicking with Vue JS
I have been running a simple "for" command with Vue.js. I want to present in "console.log" what was the value clicked. I arrived at the result of presenting a static array value in console.log, but…
vue.jsasked Renato Oliveira 51 -
0
votes0
answers34
viewsQ: Using Math.floor to calculate home time
Hey, guys, you okay? See if you can help me, I have 3 inputs, one of them put the date the employee entered and the other the date the employee was disconnected. The 3° input shows the home time,…
-
0
votes0
answers28
viewsQ: Attempt to insert value via "attr"
I’m creating a page that will simulate a website in the mobile version. After filling in the URL field, the site will appear in an "Iframe". The problem is that when I enter the URL into the field,…