Posts by Roberto Griel Filho • 52 points
5 posts
-
0
votes1
answer159
viewsA: Javascript beginner in programming
Let’s start with an explanation about arrays. An array is a variable that can receive several values that are separated by indices. An array will always start at 0 We can make your code from the…
-
0
votes1
answer38
viewsA: Can’t find the class that is in the same folder when trying to create a new object
Your code is with some errors, which is normal for those who are starting. First, the require is a function, so it needs to be invoked require_once('file.php'); In the archive controleremoto.php,…
-
2
votes1
answer129
viewsA: How to call a variable within another function
The forward function is not receiving any parameters to pass. Place the name parameter inside the parentheses: function avancaQuadro(nome){ document.getElementById("resultado22").innerHTML = nome; }…
javascriptanswered Roberto Griel Filho 52 -
-1
votes2
answers446
viewsQ: Take a string snippet between () and change it in Javascript
I have a text string in the following format: Size 35 (5 units) I need to take the numbers inside the parentheses, run a function (which is already ready) and return a new number in place. The…
-
-1
votes2
answers236
viewsQ: Grab snippet of a string between () in Javascript
I have a text string in the following format: Size 35 (5 units) How can I get only the numbers inside the parentheses, ignoring everything else?