Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Java Script issues and or browser issues/win XP Google chrome  (Read 3505 times)

0 Members and 1 Guest are viewing this topic.

sissy

    Topic Starter


    Rookie
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 8
    Java Script issues and or browser issues/win XP Google chrome
    « on: January 22, 2014, 09:05:14 AM »
    This script is posted in my website and works fine with IE8. But now I'm using Google Chrome and the up date isn't showing correctly.

     Contents copyright © 2004-114   -  google chrome
     Contents copyright © 2004-2014  -  IE8

    Can anyone tell me why? thank you

    <script language="JavaScript">
     copyright=new Date();
    update=copyright.getYear();
     
    document.write("Contents copyright © 2004-"+ update + "    ");
                                  </script>