JavaScript problems in one IIS server but not another

Posted by DanyW on Stack Overflow See other posts from Stack Overflow or by DanyW
Published on 2010-05-26T21:36:13Z Indexed on 2010/05/26 21:41 UTC
Read the original article Hit count: 359

Filed under:
|
|
|
|

Hi everyone,

I have a problem that only occurs in one environment. On this particular page, somewhere in the top half of the element, an array is created and populated. This is later used in the onfocus event handlers of various controls. I use Firebug to debug the page and discovered the problem. In our dev environment the array is indeed created and populated. In our staging environment this block of script is not executed! I put a break point where the array is instantiated and it's never hit in staging, but is hit in dev.

I'm really puzzled what aspects of the two environments can possibly affect this? We use aptimize on the staging box but it has been turned off for this particular website. I compared the page sources and they're identical! The only difference is bits of content since they are served by a CMS.

Any ideas please? I'm quite stuck on this.

Cheers, Dany.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about JavaScript