I have a form with 2 textboxs. with js handling
<script type = "text/javascript">
function autofill(which) {
document.getElementById("text2").value = which;
}
</script>
<input type="text" name="text1" onblur="autofill(this.value)" />
<input type="text" name="text2" />
So According the above js, when user type some thing on text1 text box automatically update it to the text2 text box...
My question is how I handle this case by php..?