Ok, I'm trying to get a script to take todays date and make a link. I can get the java to say the date on my page but I can't get it to become a link. Can anybody help? This is what I have so far
<script language="JavaScript">
<!-- Hide From Old Browsers
var today_date= new Date()
var myyear=today_date.getYear()
var mymonth=today_date.getMonth()+1
var mytoday=today_date.getDate()
var today=mymonth+"."+mytoday+"."+myyear
document.write(today)
</script>
I want it to open month.day.year.html i just dunno how to do it. Please help me out if you can, thanks.


Reply With Quote


Bookmarks