javascript get form data
<html> <form id="myForm"> <input type="text" name="email" value="user@example.com"> </form> <p id='text'></p> <script> window.setInterval(()=>{ var myForm = document.getElementById('myForm'); var text = document.getElementById('text'); text.innerText = myForm.elements['email'].value; }, 1); </script> </html>