dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Doc1 Date.Modified in Doc2

  1. #1
    Join Date
    Mar 2003
    Posts
    6

    Thumbs up Doc1 Date.Modified in Doc2

    Consider this code snippet:

    var lastModL = doc1.lastModified
    var lastModS = lastModL.substring(10,0)

    function lastmod()
    {
    doc2.write(lastModS)
    }

    How can I get the date doc1 was last modified to automatically update a field in doc2?

    Thanks


  2. #2
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,279
    That has to be done server side. Ask your server folks if SSI or some scripting language is available.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles