Sale on 100% origional Designer Handbags
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: 155
Points: 465
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: 127
Points: 381
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: 155
Points: 465
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

Powered by: YAF.NET
Copyright © 2010 HaqTech.com All rights reserved.
This page was generated in 0.070 seconds.