PDA

View Full Version : Using Javascript document.lastModified: good or not?


walkman50
03-10-2005, 12:25 PM
My developer wants to use Javascript's document.lastModified in the page's "Last Updated" line.

Personally, I don't think the search engines will see and register the date, but he insists (maintainance will be easier).

The Last Updated is important to the SEs, and I don't want to adversly affect the page.

Can I use document.lastModified on a page?

Thanks,
Dave

Mikkel deMib Svendsen
03-10-2005, 01:17 PM
Search engines do generally not execute client site scripts and applications so just make sure your page function and display as intended with JavaScript disabled

walkman50
03-10-2005, 01:25 PM
Thanks for settling the argument - we'll stick with good old HTML.

Dave