How to open page using JS?

0
How can I open a page using Javascript/JQuery in Mendix? For example, I have a page with JS snippet, which should wait for a few seconds and then load a different page.
asked
1 answers
1

You can use the mx.ui.openForm javascript function to open a page.
 

mx.ui.openForm("MyFirstModule/Puppies.page.xml", {
    location: "popup",
    callback: function(form) {
        console.log(form.id);
    }
});

https://apidocs.mendix.com/7/client/mx.ui.html

answered