Aug 31, 2005 #1 Vadim Programmer Feb 5, 2002 75 US This line: var date = new Date(new Date() - 86400000); gave me an error - 'Object doesn't support this action'- but same line work in all others of my pages. What is wrong?
This line: var date = new Date(new Date() - 86400000); gave me an error - 'Object doesn't support this action'- but same line work in all others of my pages. What is wrong?
Aug 31, 2005 #2 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB On the one page it fails on, make sure you have no variables or functions called "Date". Hope this helps, Dan [tt]Dan's Page [blue]@[/blue] Code Couch http://www.codecouch.com/dan/[/tt] Upvote 0 Downvote
On the one page it fails on, make sure you have no variables or functions called "Date". Hope this helps, Dan [tt]Dan's Page [blue]@[/blue] Code Couch http://www.codecouch.com/dan/[/tt]
Aug 31, 2005 Thread starter #3 Vadim Programmer Feb 5, 2002 75 US Thank you, it works Upvote 0 Downvote