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

141
Views
The field is filled in correctly, but after a second it becomes empty, since some other postmessage comes again with undefined

On the page where the iframe is inserted

 var data = {mails: 'mymail@gmail.com'}; 
 setTimeout( function(){     
 iframe.postMessage(data,'*');
 }, 3000);

PARENT

   window.addEventListener('message', function(msg) {
     jQuery("#iframe-mail_owner").val(msg.data.mails);
      console.log(msg.data.mails); 

    });

enter image description here

The field is filled in correctly, but after a second it becomes empty, since some other postmessage comes again with undefined And it's strange why I see recaptcha and other data in the logs, I made it clear that I output console.log(e.data.mails); not just DATA

about 4 years ago · Santiago Gelvez
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!