Posts by Lucas Finey • 41 points
2 posts
-
2
votes2
answers138
viewsA: Undefined variable
put $(). confirm() inside the function, solved the problem in part. see how it turned out: var preco = ""; var qtd = ""; var total = ""; function keypressed( obj , e , f) { var tecla = (…
-
2
votes2
answers138
viewsQ: Undefined variable
Hello, I’m having a problem recovering the global variable totalin a script. In an Alert inserted in the same scope it is displayed normal, but in a declaration it is not returned, it appears…