but still it run in IE but not working in Firefox and netscape.
I am using frames in my project top farame has header html page and second frame has product listing files and from there I want to send user to
https://sitelocation.aspx for secure credit card transaction page.
Thanks for your reply. Yes it's working but the same problem it open page in same frame and I want to send link( redirect) to https main browser location bar.
DotOnNet
Member
265 Points
54 Posts
Firefox browser and javascript
Jul 01, 2005 10:11 PM|LINK
I am using frames in my asp.net application and at Check-Out page I use this script to go reach my https:// link
Response.Write ("<script>window.top.navigate 'https://www.dominname.com/secureorders.aspx');</script>");
It works fine in IE but firefox and netscape both not able to run this script. Please anyone help.
Regards
DotOnNet
mobile-fedot
Member
20 Points
4 Posts
Re: Firefox browser and javascript
Jul 02, 2005 06:09 AM|LINK
A1ien51
All-Star
29935 Points
5821 Posts
Re: Firefox browser and javascript
Jul 02, 2005 01:41 PM|LINK
navigate is IE only
you need to use
document.location.href = "thelink.aspx";
Eric
DotOnNet
Member
265 Points
54 Posts
Re: Firefox browser and javascript
Jul 02, 2005 10:10 PM|LINK
Thanks for your reply. I used the code as you said
Response.Write "<script>document.location.href('https://www.domain.com/menus/secureorders.aspx');</script>");
but still it run in IE but not working in Firefox and netscape.
I am using frames in my project top farame has header html page and second frame has product listing files and from there I want to send user to https://sitelocation.aspx for secure credit card transaction page.
Any help will be appreciated.
A1ien51
All-Star
29935 Points
5821 Posts
Re: Firefox browser and javascript
Jul 02, 2005 10:50 PM|LINK
Not in ()
Eric
DotOnNet
Member
265 Points
54 Posts
Re: Firefox browser and javascript
Jul 04, 2005 02:56 PM|LINK
Hi,
Thanks for your reply. Yes it's working but the same problem it open page in same frame and I want to send link( redirect) to https main browser location bar.
I will appreciate your help in this regards.
DotOnNet
DotOnNet
Member
265 Points
54 Posts
Re: Firefox browser and javascript
Jul 04, 2005 03:47 PM|LINK
Hi,
I have change a little bit of script and it's running as I want
window.top.location.href = 'https://www.domain.com/secureorders.aspx'
Thanks for your help.
DotOnNet