Solved

this used to work, but what could be wrong ?

Posted on 2014-07-19
2
149 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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
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…

738 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