0
To illustrate what I want, it’s like I write something on input and when you press the button, appear, in the alert, the text I wrote.
In Javascript:
    function myFunction (){
        var input = document.querySelector('.inputt');
        var text = document.createTextNode('');
        b_i.innerHTML = textt;
        alert(textt);
    }
In the HTML:
   <input class='inputt'/>
   <button onclick='myFunction'></button>
						
alert( document.querySelector('.inputt').value )– Valdeir Psr
vlw bro you have no idea how long was wanting this kk
– Leandro Lobo