I want to click on link and I want to go to the page on home page by it self
<a onclick="javascript:GoToHomePage()" href="javascript:void(0)">Home page</a>
function is
function GoToHomePage()
{
window.location = 'default.aspx';
}
but i want the url of page www.testtest.com instead of www.testtest.com/default.aspx
I can't even give the absolute path like www.testtest.com as it's a portal and same page coming in few more portals.
<a href="/">Home page</a>
is much, much simpler.