I am a newbie ...and i m working on a casetool....named Coolgen...
Which Generate the jsp pages....
now i have added a html control on my page......
<input id="demo1" size = "10" onBlur="magicDate(this);validate1();" >
Now there is a onther field....
which is ool gen field.........whose id is 'PUBLISH_DATE'
i want to write a java sript for putting the data in html control,
whenever there is a data in that field...
like
document.getElementById('demo1').value=document.getElementById('PUBLISH_DATE').value;
but where...... can anybody help me?