Solved

this used to work, but what could be wrong ?

Posted on 2014-07-19
2
150 Views
Last Modified: 2014-07-19
the page http://roofgenius.com/test2.htm
The java script
Folder: JavaScriptJS
file: date.js
var myDate = "07/19/2014";
document.write("Copyright © 2002-2014 Roofgenius.com All rights reserved.<br/>");
document.write("This page last updated: " + myDate);



in the pages footer:
<script src="JavaScriptJS/date.js" type="text/javascript">
            </script>


it puts the date 02/25/14
what is wrong ?
0
Comment
Question by:isnoend2001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40206855
I just looked.  Your javascript on your site does not say "07/19/2014", it says "02/25/2014" so it's working right.  However you're putting that date in there isn't though.
0
 

Author Closing Comment

by:isnoend2001
ID: 40206881
Thanks that fixed it
need to start watching Ftp software
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question