SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Hybrid View
-
Dec 10, 2006, 17:08 #1
- 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?
-
Dec 10, 2006, 17:16 #2
- 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