JavaScript weirdness: “ReferenceError XXX is not defined”
If you’re getting a “ReferenceError XXX is not defined”-error while calling JavaScript functions (which definitive exist), you might want to check for any for each(…) – constructs in your source. In case you use this way of iterating through a sequence, the browser will disrupt parsing parts of your JavaScript code, which leads to the […]