Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: perl scripter error ReferenceError: The variable ActiveXObject has not been declared

by sundialsvc4 (Abbot)
on Aug 02, 2012 at 14:16 UTC ( #985048=note: print w/ replies, xml ) Need Help??


in reply to perl scripter error ReferenceError: The variable ActiveXObject has not been declared

Pardon me for being unwilling to try to prize apart some “minify’d” JavaScript code, but my initial impression of the matter is that the code must be expecting other declarations to have previously been downloaded (i.e. by means of a <script> tag).   It expects these to have been incorporated into the same JavaScript environment before the code in question is received and the attempt is made to compile and run it.   (It also expects that no syntax error has lately been introduced into any of that code!   An error would stop the JavaScript interpreter, with or without a visible warning .. look in the browser debugger .. perhaps before the declarations you need have been processed.)

I thnk that you need to “look underneath these other toadstools.”   It is actually unreasonable to think that something “just happened yesterday” to the material that is being received from the AJAX call.   If your shop maintains version-control as it should, pore through the list of recent commits.   Look, with an open mind, for anything that this material may “touch,” that has been updated in any way whatsoever during the period of time since your “last known good” state.   Also, clear the browser caches and methodically test the behavior to “box it in” on various available computer systems and browser types.   The error-messages and (e.g. FireBug) debugging outputs available on different browsers might give you an important clue.


Comment on Re: perl scripter error ReferenceError: The variable ActiveXObject has not been declared

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-12-28 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (179 votes), past polls