因为没有初使化,这样写
<script>
window.onload=init;
function init()
{
var y = new Date().getFullYear();
tt.tYear.value= y;
}
</script>