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

223
Views
Hide HTML URL with JavaScript

I want to hide the HTML URL while using print DIV function Please advise if there is any code can be placed in below code to hide HTML URL

 <script type="text/javascript">
          function PrintDiv() {
              var divContents = document.getElementById("dvContents").innerHTML;
              var printWindow = window.open('', '', '');
              printWindow.document.write('<html><head><style type="text/css">');
              printWindow.document.write('body,td,th{font-family: @Arial Unicode MS;font-size:12px;border: 1px solid black;border-collapse:collapse;table-layout:fixed}');
              printWindow.document.write('</style></head><body onload="window.print();">');           
              printWindow.document.write(divContents);
              printWindow.document.write('</body></html>');
              printWindow.document.close();
              winprint.focus();
          }
    </script>  
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!