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
Printable View
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
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
May you could use...response.redirect("www.yahoo.com")
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
<input type=button value=clickme onclick="javascript:location.href='page2.htm'"/>