View Full Version : contentWindow.document.lastModified not working in IE

03-11-2009, 03:21 PM
Hi all,

I have a iframe which contains a xml document as src. This document's
contents are subject to change, and I need to check last modified data
to see if it is changed

var lastModif = new Date(myFrm.contentWindow.document.lastModified);

where myFrm is the iframe in question.

The problem is simple: in IE lastModif is current time, not the last
modified time.
In Firefox, the lastModif is the last modified time as it should be.

Is there any way in IE to get this last modied time, not current
time ?

-- regards, Esko