Why doesn't this work?
The input field doesn't show up at all. I know I'm just missing something really simple here. Please help me out.
Code:
<script type="text/javascript">
day = day.getDay()+1; 
month = day.getMonth()+1;
year = day.getYear(); 
newdate= month + '/' + day + '/' + year;
document.write('<INPUT name=Date value='+ newdate + '>');
</script>