Answered error message

  • Monday, December 05, 2011 4:12 PM
     
     

    I've tried to open this file : Star.files\legacy.header.files\Jsap1.js

    and I get this:

    error: "window" is undefined

    code: 800A1391

    source: Microsoft JScript runtime error

    What does mean and how do you fix?

All Replies

  • Thursday, December 08, 2011 6:51 AM
    Moderator
     
     Answered

    Hi sikntired,

    The javascript window object represents an open window in a web browser.
    It does not make any sense if you directly open this .js file.
    Generally this .js file is used by a web page, we directly open the web page, then the logics in the .js file does take effect.

    Have a nice day,


    Leo Liu [MSFT]
    MSDN Community Support | Feedback to us