<form name="forma">
<input type="text" name="a" value="hello!!!!">
<input type="text" name="b" >
<input type="button" name="btn" value="click" onclick="document.all.data.innerText='Hello!...'">
<font id="data" > ???? </font>
</form>
<input type="text" name="a" value="hello!!!!">
<input type="text" name="b" >
<input type="button" name="btn" value="click" onclick="document.all.data.innerText='Hello!...'">
<font id="data" > ???? </font>
</form>
{
document.forma.b.value=document.forma.a.value;
document.all.data.innerText = "hello!!!!";
}
function fillin()
{
document.forma.b.value=document.forma.a.value;
document.getElementById('data').innerHTML=document.forma.a.value;
}
</script>
<form name="forma">
<input type="text" name="a" value="hello!!!!">
<input type="text" name="b" >
<input type="button" name="btn" value="click" onclick="fillin();">
<font id="data" > ???? </font>
</form>