[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it Java or is it Iceweasel?



Mathias Brodala wrote:
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
Sorry, not under my control! ALL pages that use javascript have this
problem, not just mine;
aweber, MSN, yahoo, whatever. All of them work fine on my wife's desktop
and all of our
notebooks. The problem only occurs on my desktop w/Debian/Etch &
Iceweasel (also Iceape
and Galeon), so something is not right somewhere.

I can't get any non-Mozilla browser installed to try any of them.





Reply to: