I am using 1.3.8a. I have a number of ez-pages in use. I have one ez-page that is using a javascript file placed in "includes/modules/page/" and that is working just fine.

But the javascript code uses a document.getElementById and on the other ez-pages that do not require this javascript file, this code produces a javascript error (indicated by the yellow error triangle at the bottom left of Internet Explorer browser window).

It's more of an annoyance than anything since the error isn't interfering with any of the ez-page operations other than that little yellow error triangle that bugs me to no end.

What I did the try to fix this was I created another folder for the ez-page that uses the javascript file at "includes/modules/page_10/" and I moved the javascript file there.

My thought was that the section in the html_header.php file where it loads all page-specific jscript_*.js files from includes/modules/pages/PAGENAME would take over and realize that the javascript file was now located in a folder that corresponded to the ez-page id "page_10"... but it doesn't. Instead it breaks that page and the javascript does not function.

Am I not understanding the override system correctly? How would I load a javascript file for just one ez-page to avoid that nasty little triangle?

TIA!