SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict buildakicker's Avatar
    Join Date
    Jun 2005
    Location
    NorCal
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb Load Invisible Page <body onLoad...

    Hello all you JS gurus,

    I know this is easy. I want to have my page load an external page in the background to pull data from when the page first loads.

    is there a:

    $url = "www.domain.com/file.kml"
    window.onload.REFRESH???

    Something link that that I can do?

    I don't care to show any data, I just want a file reloaded in the background.

    Thanks!
    SKILEASES.COM - FREE rental listings!
    WILDFIREBLOG.COM - Wildland Fire microblog!

  2. #2
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    Sydney, Australia
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you want a pure javascript solution, you'll have to use some variant of ajax.

    http://www.sitepoint.com/article/take-command-ajax


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •