How is JavaScript loaded in Browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    How is JavaScript loaded in Browser

    I was just wondering where/how JavaScript is loaded?
    Is it loaded for the specific page or for the Browser?

    I would have thought it was just specific to the page that the JavaScript exists within but I've been experiencing something a little weird lately with regards to FireBug.

    I'm getting an error message:
    Originally posted by FireBug's Error Message
    document.forms. dstform is undefined:
    ....
    function Sys$CultureInfo $_getAbbrMonthI ndex(value) {
    .....
    this._upperAbbr Months = this...s.dateTi meFormat.Abbrev iatedMonthNames );
    Now the interesting thing to note about this error is that the method "Sys$CultureInf o$_getAbbrMonth Index" is part of the .NET Ajax libraries.

    The .NET Ajax framework is loaded in a FireFox window that I'm using for testing my web application.

    While this window's loading (sometimes takes a while) I'll be snooping here on Bytes. The "document.forms .dstform" is part of the Bytes page. Bytes is PHP based so it doesn't make sense to be applying the .NET Ajax Library to anything on Bytes....hence the error message.

    The error is appearing in the browser loading my web application.

    Why would FireFox be using the .NET Ajax libraries (loading in the browser displaying my web application) on the FireFox browser displaying Bytes?

    What is going on?

    -Frinny
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    hi frinny,

    that is just a mix of errors that are displayed in firebug. every window ('real' browserwindow, frame, iframe) has its own scope and scripts may only interfere when there is some cross-site-scripting or a script has privileges to set some global browsersettings ... so your current issue is nothing more then that: firebug displays the errors that occur in different windows in one console as it would be with FF own JavaScript error console.

    kind regards,
    gits

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Thanks for the explanation Gits :)

      Comment

      • gits
        Recognized Expert Moderator Expert
        • May 2007
        • 5390

        #4
        ;) nothing to thank for ... i'm just here for that ;)

        kind regards,
        gits

        Comment

        • gits
          Recognized Expert Moderator Expert
          • May 2007
          • 5390

          #5
          would you mind to explain what that link should state?

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            Originally posted by gits
            would you mind to explain what that link should state?
            Hey Gits, this person used a tool to find anything related to an UpdatePanel and posted their reply. It's not useful in the slightest...it' s just spam :)

            Comment

            Working...