Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

86
Views
I am trying to redirect the page after 5 minutes using javascript

I am trying to redirect page after 5 minutes using JavaScript but my code is not working please help me thanks.

Javascript

 <script type="text/javascript">
            let my_url = "{{route('non-member-booking')}}";
          
            setTimeout(function() {
                    window.location.replace(my_url);
            }, 300000);
    
    </script>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can use the following code and it will run with no problems.

setTimeout(function() {
    window.location.href = 'https://google.com/';
}, 300000);
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!