Added "var", etc. to avoid warnings in Firefox Error Console
A dynamic web menu based on PHP, Javascript and optionally a DB.
Brought to you by:
ank-99
I added 'var' on all undeclared variables, so as to avoid warnings in the Firefox error console. It is safe to add 'var' on global variables, as this should make them essentially in the top scope, and for the local variables, I added them when the variable did not need to be global (and in one case where it was needed, I initialized the variable outside of the function).
Set of JS files