I swear I have been trying to figure this out for two hours. Please help. The value of the input text is not getting passed to the process.php
<body>
<script>
function RecordTime(y) {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
xmlhttp.open("GET", "process.php?p2=" + y, true);
xmlhttp.send();
};
};
</script>
<form>
Play Start <input type="text" name="PosA" id="PosA" onchange="RecordTime(this.value)"><br>
</form>