I have the following input
:
<input id="searchinputid" type="text" class="searchinput" name="txtbuscan" placeholder=" Search..." onkeyup="showUser(this.value)" autocomplete="off"></input>
and wanted to save its value in real time when the user gave Enter , that is, I wanted to save the input
value in the PHP variable whenever the user gave Enter no input
.
$fgdsj="<script>$('#searchinputid').val();</script>";