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

151
Views
window.location.replace returns incorrect link

I use window.location.replace(qrMessage) in my Django project, but it add the current page's URL before qrMessage into the searching page's URL and can't open it. Why does it happen and how can I avoid this?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Link to the original poster @iPzard - answer

I think you're missing the "http" or "https" part. Have you tried the following?

window.location.href = "https://www.example.com/test";

or

window.location.href = "http://www.example.com/test";
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!