I'm using the Prototype framework for a fairly large mostly-Ajax-powered project.
The site's pretty much done, but the web developer toolbar keeps telling me I have an error:
"$ is undefined" on line 1
Often it appears multiple times per page. Since the content is dynamically loaded, the error shows up "on line 1" which is pretty useless.
I realize this is hard to troubleshoot without looking at all my code, but has anyone else experienced this before? Any idea where to look for the problem? It must be somewhere I try to call the $(id) prototype function, but where it hasn't been initialized yet? Maybe the library hasn't fully downloaded yet?