Wix: (Javascript) Click button on one page to jump to another page and filter info

You will need →

$w.onReady(()=>{
    let timeout = 5000; // milliseconds = 5sec.
    setTimeOut(()=>{myFunction},timeout);

function myFunction() {
    console.log("This codepart will start after 5 sec. since page    
has been ready!);
    
    //write your code here, what should happen in this function???
    }
});