I use an external JavaScript file (.js) in a classic ASP program. I added a new function 'isFutureDate(dt)' to this file. The new function works fine when using Chrome browser to access the web page. When using IE 11, it showed the error of "isFutureDate() is undefined". Other functions in external .js are working.
I run into this type of problems several times recently. The existing functions in external .js file are working, but the newly added ones didn't work. I had to move those functions back to the ASP program, then they worked fine. My web server is IIS 7.5. I am not sure whether this issue is related to type of web server I am using.
I read several posts about problems with JavaScript function in external .js file. But, I have not found one that describe the same problem as mine.