Posts by Jacob Athias • 71 points
2 posts
-
3
votes3
answers804
viewsQ: How to reload or refresh the CSS of the page with Javascript
I made a code that should generate several inputs: var n = document.getElementById("numeroCamadas").value var ttt; var layers = {} for (var i =0; i<n; i++){ layers["layer" + i] = { 'espessura':0…
-
3
votes2
answers298
viewsQ: How to generate incremented variables with Javascript?
I would like to know how to generate incremental variables, for example: var camada = 0 for (i=0; i=20;i++){ var "camada" + i + 1 = 12 } I know the code is not correct, but I wrote to better…