Solved

this used to work, but what could be wrong ?

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Hi all! Recently there was EE question and the person wanted to have a multi-column textbox <div> selection, so as a first step to answer I provided a link but that was not complete with JavaScript selection, but had a good style sheet. So as a ques…
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

777 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