Hello,
I am trying to add a javascript countdown to my page.
This should be simple enough but I've been struggling with it for way too many hours to even admit.
So, if I make a test .php page on my server with the script in the <head> tag and run it, it runs fine. When I then create a .js file and place that code in the ATO Theme Options > HTML Inserts: Header, it is returning an error. As a result, I feel like something is breaking between atahualpa and my page.. I don't really know what's happening.
Here is the page I'm working on:
http://www.hoodielife.com/time1.php
This code has a debug mode so I can see that it's a problem with acquiring the date / time from the server.. but this isn't the case when the code is part of the original .php page, only when I move it to a separate .js file.
Can someone please help?