Posts by Douglas Ribeiro Piasente • 1 point
1 post
-
0
votes2
answers299
viewsA: How to pass a variable from one Javascript file to another?
Make sure that the variable you want to use in two javascript files is not inside a function and link the two javascript files in the order <script src="arquivo1.js"><script> //declara a…