Posts by Sósthenes Neto • 26 points
3 posts
-
1
votes2
answers65
viewsA: Nullpointerexception error on execution
You have to initialize the elements of your array Example: class Elemento { private String atributo; public void setAtributo(String atributo) { this.atributo = atributo; } public String…
-
0
votes2
answers1933
viewsA: Javascript: What is the difference between asynchronous functions and normal functions
You write "linear" and not with so many callbacks... Example: function resolveDepoisDe2Segundos() { return new Promise(resolve => { setTimeout(() => { resolve('resolvido'); }, 2000); }); }…
javascriptanswered Sósthenes Neto 26 -
0
votes1
answer17
viewsA: Doubt with Jquery
Taking into account that the $(this).closest('tr') is the <tr />. just use the .find() to find the inputs of the type text. Example: to add the required:…
jqueryanswered Sósthenes Neto 26