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

119
Views
Iframe src pointing to wrong URL

My document gives the user a choice of what program (effectively URL) to load in an iframe. The user may select another program later and the browser puts the prior choice in history. This allows the user to go back to a prior program that was loaded. No problem and the onload JAVASCRIPT lets the program know when this happens. Problem is the onload functions looks up the src attribute of the iframe, but instead of getting the URL of what is now (re)loaded in the iframe it lists what was the last change in the src. I tried accessing the href of the iframe, but that is protected since it is from another site. Is there a way to retrieve this. I suspect that using replacestate and popstate might be able do the trick. Any ideas?

about 4 years ago · Juan Pablo Isaza
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!