2
I need to take the value of the text box and put it into a global variable. How do I do this?
2
I need to take the value of the text box and put it into a global variable. How do I do this?
Browser other questions tagged javascript jquery
You are not signed in. Login or sign up in order to post.
Broad question D+. If the value is picked up through a function, simply do not declare the variable that it becomes global.
– user60252
Tried so?
variavel = $('#idDaCaixaDeTexto').val()
– adventistaam