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

267
Views
Quiero agregar la fecha y la hora en el elemento de la barra de navegación llamado 'UK CT' cuando se hace clic en él
 <!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous"> <title>Hello, world!</title> <script> let a,b; let date,date1; let time,time1; const options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; setInterval(() => { a = new Date(); date = a.toLocaleDateString(undefined, options); time = a.getHours() + ':' + a.getMinutes() + ':' + a.getSeconds(); document.getElementById('time').innerHTML = time + "<br>on " + date; }, 1000); setInterval(() => { const date1 = new Date(Date.UTC(2020, 11, 20, 3, 23, 16, 738)); time1=a.getHours() + ':' + a.getMinutes() + ':' + a.getSeconds(); document.getElementByClassName('navbar-nav mr-auto nav-item active nav- link').onclick="time1 + "<br>on " + date1;;"; document.getElementById(time1).innerHTML = time1 + "<br>on " + date1; }, 1000); </script> </head> <body> </html>

1.Quiero ver la fecha y hora actual de Reino Unido. 2. Entonces, he usado 'UK CT' como etiqueta de anclaje en la barra de navegación. Cuando hacemos clic en 'UK CT', debería mostrar la hora y la fecha actuales. 3. Los datos y la hora deben mostrarse en la plantilla Jumbotron.

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!