Posts by Gabriel Tobias • 61 points
5 posts
-
0
votes0
answers55
viewsQ: Dynamic form locking select
I have a dynamic form (that) with two fields (a SELECT and a quantity input), but every time I add two more fields SELECT gets stuck. $(document).ready(function(){ var itemCont = 1;…
-
0
votes0
answers176
viewsQ: How to divide two values of an array?
I have the following code, where only index 0 is string: $row[0] = $row[0]; $row[1] =(float) $row[1]; $row[2] =(float) $row[2]; $row[3] =(float) $row[3]; $row[4] =(float) $row[4]; $row[5] =(float)…
-
1
votes0
answers106
viewsQ: How to make two querys in a JSON?
I’m mounting a map using the mapbox API, creating some points dynamically on the map. I have a JSON that gives me some information (getDados.php), but I wanted to perform one more query inside this…
-
0
votes3
answers1253
viewsA: JS variable returning Nan
Thanks guys, I was able to resolve returning a position in length, since the JS was adding up the content of the last td that was blank. The correct code looked like this: <script…
-
4
votes3
answers1253
viewsQ: JS variable returning Nan
I’m assigning the sum of a column in an HTML table to a JS (sum) variable, but when I print it on the screen I get an Nan, someone knows why? <tr> <td style="background:#c4ffd6;"…