0

I won't know at design time what the domain is in. I need to have the enduser have the choice to click a button to go to the default page within that domain.

I have tried the following but it is not reloading the new page:

location.assign(window.location.pathname.replace("availability.aspx", 
 "default.aspx"));
location.reload(true);

TIA ...

David
  • 958
  • 2
  • 12
  • 29

1 Answers1

0

You can just do document.location = "default.aspx";