SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Oct 2005
    Location
    Home
    Posts
    219
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Reload page, but to a different URL

    Well, what I want to do is kinda like the header(); function in PHP. But, I just want to do it in JavaScript. Is this possible?

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yes, and you can even do it without javascript (with the meta refresh). Check out this: http://webdesign.about.com/od/metata.../aa080300a.htm

    If you still need to redirect using JS, look up window.location for how to use it.


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
  •