Can Javascript be reloaded

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom Szabo

    Can Javascript be reloaded


    Hi

    Just wondering if an included javascript can be reloded?

    Say one has a script tag:
    <script language="JavaS cript" src="scripts/DTV3.js"> </script>

    Can the "scripts/DTV3.js" be replaced by a URL and have it dynamically
    loaded?

    or is it a siily thought?

    TIA,

    Tom


  • Randy Webb

    #2
    Re: Can Javascript be reloaded

    Tom Szabo wrote:[color=blue]
    > Hi
    >
    > Just wondering if an included javascript can be reloded?
    >
    > Say one has a script tag:
    > <script language="JavaS cript" src="scripts/DTV3.js"> </script>
    >
    > Can the "scripts/DTV3.js" be replaced by a URL and have it dynamically
    > loaded?
    >
    > or is it a siily thought?[/color]

    Do a search of the archives for "dynamicall y loading JS Files" and you
    can find a thread where this very thing was discussed. How you go about
    loading/reloading it dynamically depends on what browsers you want to
    support.

    --
    Randy
    comp.lang.javas cript FAQ - http://jibbering.com/faq

    Comment

    • Tom Szabo

      #3
      Re: Can Javascript be reloaded

      Thanks very much

      Tom


      "Randy Webb" <HikksNotAtHome @aol.com> wrote in message
      news:zLydnTURup ZRqincRVn-2A@comcast.com. ..[color=blue]
      > Tom Szabo wrote:[color=green]
      > > Hi
      > >
      > > Just wondering if an included javascript can be reloded?
      > >
      > > Say one has a script tag:
      > > <script language="JavaS cript" src="scripts/DTV3.js"> </script>
      > >
      > > Can the "scripts/DTV3.js" be replaced by a URL and have it dynamically
      > > loaded?
      > >
      > > or is it a siily thought?[/color]
      >
      > Do a search of the archives for "dynamicall y loading JS Files" and you
      > can find a thread where this very thing was discussed. How you go about
      > loading/reloading it dynamically depends on what browsers you want to
      > support.
      >
      > --
      > Randy
      > comp.lang.javas cript FAQ - http://jibbering.com/faq[/color]


      Comment

      Working...