Quiero obtener la entrada borrosa, pero no sé si es posible hacer esto en php, así que lo estoy haciendo en javascript para convertir en php después, pero no lo estoy obteniendo
<!DOCTYPE html> <html> <body> <h4> Change the text of the text field ,and then click the button. </h4> <label for="domTextElement">Name: </label> <input type="text" onclick="getValueInput()" onblur="getValueInput()" id="domTextElement"> <form action="teste2.php" method="GET"> <p <?php //$_SESSION['id'] = echo "<script>document.getElementById('valueInput').innerHTML</script>"; ?> id="valueInput"></p> </form> <script type="text/javascript"> const getValueInput = () => { let inputValue = document.getElementById("domTextElement").value; document.getElementById("valueInput").innerHTML = inputValue; } </script> <?php $id = $_GET['valueInput']; echo $id; ?> </body> </html>