Posts by Vini • 1 point
2 posts
-
0
votes2
answers41
viewsA: Uncaught Referenceerror: hr_tb is not defined
Guys, I just did a little digging, and I saw that a var is limited to its scope, not a whole file. So the solution I found was this: var hr_tb = 0; var vl_hr = 0; function calcular() {…
-
-1
votes2
answers41
viewsQ: Uncaught Referenceerror: hr_tb is not defined
I’m having problems with my Javascript. Basically, I get input values at the push of a button. I used the jquery plugin Mask to add masks, but at the time of storing the results, I change the mask…