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

232
Views
Trying to input ads code in my website but there is error in this code can someone fix please
<script type="text/javascript">
    atOptions = {
        'key' : '4acc9ecf15520c3ad2d27837af408a5f',
        'format' : 'iframe',
        'height' : 50,
        'width' : 320,
        'params' : {}
    };
    document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://www.effectivedisplayformats.com/4acc9ecf15520c3ad2d27837af408a5f/invoke.js"></scr' + 'ipt>');
</script>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It's not a good idea for you to use document.write in inline JavaScript (especially those in <body>) because it'll overwrite the <script> itself. Perhaps you can create an element and change its innerHTML, or you can put it into <head> and use <body onload>.

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!