|
-
Aug 8th, 2005, 03:03 AM
#1
Thread Starter
Addicted Member
navigate to new url within the page [slightly resolved]
Hi,
please help, need to navigate from .htm page to another, i tried using window.open and window.navigate, but it opens another window, i tried document.open also but it didn't work....btw i'm using an html button
any tips?
Thanks
Last edited by jewel; Aug 8th, 2005 at 10:57 PM.
xoxo
-
Aug 8th, 2005, 04:30 AM
#2
Frenzied Member
Re: navigate to new url within the page
If you are using JavaScript then use window.location. However a better way to do it if you are using ASP.NET is to use Response.Redirect within the server-side click event of the button.
HTH
DJ
If I have been helpful please rate my post. If I haven't tell me!
-
Aug 8th, 2005, 05:39 AM
#3
Fanatic Member
Re: navigate to new url within the page
May you could use...response.redirect("www.yahoo.com")
Godwin
Help someone else with what someone helped you! 
-
Aug 8th, 2005, 10:56 PM
#4
Thread Starter
Addicted Member
Re: navigate to new url within the page
it's html...so I just changed it .aspx, with window.location dunno what happens but it takes so long to load...then it just closes the window...weird...anyways thanks guys
-
Aug 8th, 2005, 11:02 PM
#5
Fanatic Member
Re: navigate to new url within the page
<input type=button value=clickme onclick="javascript:location.href='page2.htm'"/>
If a post has helped you then Please Rate it!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|