How to load (goto) another page?

Hi,
If I need to load another html page (or goto another url), how can I do this?
Suppose this situation where loading an initial page, it must force loadind another:

webix.ready(function(){
if (webix.storage.cookie.get('is_login')=="1") {
   load("menu.html"); 
else
  load("login.html");
}
});

It works?

Thanks.

Hi,

You can try to use window.location.href or window.open().

hi @Maria , can I load another href in the same window without open new window?

Hello @eve ,
window.location.href it’s a property that will tell you the current URL location of the browser. Changing the value of the property will redirect the page. In other words, it will open the URL in the window in which the code is called.
window.open() is a method that you can pass an URL to that you want to open in a new window.