Ca4nul @ facebook Ca4nul @ Twitter
Forum announcement: $$ Top Contributors Contest (March 2010) - Win Instant extra Cash $$
Welcome Guest Search | Active Topics | Members | Log In | Register

problem with window.location.href in IE 6.0 Options
richard
Posted: Monday, July 06, 2009 9:34:25 AM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2008
Posts: 149
Points: 447
Location: California, USA
Hi all,

I want to redirect to some page with through javascript. I have tried lots of options but not succeed in any. :(

Code:
window.location.href = 'default.aspx';

location.href = 'default.aspx';

document.location.href = 'default.aspx';

window.open('default.aspx','_self','','');

window.navigate('default.aspx');

setTimeout('window.location.href=default.aspx',100);

window.replace('default.aspx');


None of above is working for me.

Please help me out.



Any help would be appreciated.
Sponsor
Posted: Monday, July 06, 2009 9:34:25 AM
steven
Posted: Monday, July 06, 2009 9:36:12 AM
Rank: Advanced Member
Groups: Member

Joined: 4/3/2008
Posts: 117
Points: 351
Location: Sheffield, UK
Try this

window.location = 'default.aspx';

Have a Great Day!
richard
Posted: Monday, July 06, 2009 9:37:20 AM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2008
Posts: 149
Points: 447
Location: California, USA
Thanks for the reply.

just missing "return false" in the all my mentioned cases. :)

Have a good day to you also.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

ASPNET Theme created by Boskone (Dan Ferguson)
Powered by Ca4nul.Com
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.195 seconds.