This code is very simple, but it doesn't do anything.. can someone point
out what I'm doing wrong please..
When user enters text into t11, it should be copied to t12.
<HTML>
<HEAD>
<title>onChan ge Test</title>
</HEAD>
<BODY>
<script language="JavaS cript">
function recalc()
{
document.frm.t1 2.value = document.frm.t1 1.value;
}
</script>
<FORM name="frm" method="post" action="post">
Source <input name="t11" type="text" onChange="recal c(); return
true;" />
<br>
Target <input name="t12" type="text" />
</FORM>
</BODY>
</HTML>
--
Thanks
Adrian
out what I'm doing wrong please..
When user enters text into t11, it should be copied to t12.
<HTML>
<HEAD>
<title>onChan ge Test</title>
</HEAD>
<BODY>
<script language="JavaS cript">
function recalc()
{
document.frm.t1 2.value = document.frm.t1 1.value;
}
</script>
<FORM name="frm" method="post" action="post">
Source <input name="t11" type="text" onChange="recal c(); return
true;" />
<br>
Target <input name="t12" type="text" />
</FORM>
</BODY>
</HTML>
--
Thanks
Adrian
Comment