Posts by Ricardo Costa • 40 points
4 posts
-
1
votes2
answers100
viewsA: I can’t break line using Javascript
Instead of putting in an input, define a <p id="paragrafo"> <p> then you use your call by changing the element id: $('paragrafo').val('[b]Meu nick:[/b] ' + nick + ' <br>[b]Como…
-
1
votes3
answers18966
viewsA: Browse objects with pure Javascript
ecmascrip6 : array.forEach((item)=>{ console.log(item); });
-
-2
votes4
answers7619
viewsA: Remove Focus/Outline from input (CSS)
declare a css class in its element. Ex: <button class="button"></button> daclare a css class with Outline:None : .button{ outline: 0; } Clicking the button will no longer show the Focus…
-
0
votes3
answers361
viewsA: Attempt to manipulate values of a vector generated by a JSON
Do so: var vetor = []; var obj = JSON.parse(objetoJSON); for (i in obj){ // condição if vetor[i] = obj[i].nomeDaPropriedadeNoObjetoJson (exemplo: obj[i].nome) // elseif vetor[i] =…