How to fetch a file from a URL address with Javascript???

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

    How to fetch a file from a URL address with Javascript???

    Hello,

    I'm a beginner of Javascript, I wish to know it is possbile to fetch a file
    (its textual or graphical content) with a http type address.

    Also where I can find the object, keyword, functions reference of JavaScript

    Thanks you much

    sayoyo


  • F. Da Costa

    #2
    Re: How to fetch a file from a URL address with Javascript???

    saiho yuen wrote:[color=blue]
    > Hello,
    >
    > I'm a beginner of Javascript, I wish to know it is possbile to fetch a file
    > (its textual or graphical content) with a http type address.[/color]
    Assuming you mean just loading it.
    window.location = hrefYouRequire;[color=blue]
    >
    > Also where I can find the object, keyword, functions reference of JavaScript
    >[/color]
    For starters:




    Fermin DCG

    Comment

    Working...