Reading an html file in a javascript variable.

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

    #1

    Reading an html file in a javascript variable.

    Hi,

    Is there anyway to read an html file into a javascript variable or
    execute a script src and load that output into a variable in the
    calling page?

    Thanks,

    Tim
  • Michael Winter

    #2
    Re: Reading an html file in a javascript variable.

    On 12 Feb 2004 02:36:47 -0800, Timmy <twillis@f2.com .au> wrote:
    [color=blue]
    > Is there anyway to read an html file into a javascript variable or
    > execute a script src and load that output into a variable in the
    > calling page?[/color]

    For the first part, read the FAQ:



    For the second, I don't know what you mean. You can't "execute a script
    src". Furthermore, there is no defining output from a script element. If
    it modifies the document, it will do it directly.

    Mike

    --
    Michael Winter
    M.Winter@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)

    Comment

    Working...