Hi Dennis.
Dennis G. Wicks, 05.05.2007 15:02:
I am having problems with some web pages not working.
(Not working means just that. The details vary from page
to page.)
When I check the error console I find a lot of messages
like:
Warning: assignment to undeclared variable speed
Warning: assignment to undeclared variable len
Warning: assignment to undeclared variable tid
I know from looking at some of my own pages that these
are referring to Java statements in the html similar to this:
<script language="javascript">
<!-- Clock in Java Script ..
var dateform
speed=1000
len=56
tid = 0;
...
This is not Java, but JavaScript; they are completely different languages.
This is old code and works fine on other systems, etc.
So, any ideas how to fix this?
Declare the variables just as you did with the variable "dateform" by prepending
them with the keyword "var"
Regards, Mathias