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

74
Views
Explore la entrada de archivos .html con Javascript

Soy un principiante en Javascript y me gustaría crear una aplicación web (html, css y JS). Esta aplicación le permite agregar un archivo .html (que contiene una tabla con una clase definida dentro).

Me las arreglé para hacer la entrada y cargarla en el Javascript, pero luego no puedo obtener la tabla en el archivo .HTML El archivo parece estar en formato "blob" ??? El objetivo es mostrar la tabla en mi index.html y luego darle estilo.

 <p>Depot du fichier d'identification :</p> <label for="myfile">Select a file:</label> <input type="file" id="myfile" name="myfile"> <p></p> <script src="script.js"></script>
 // file recuperation (script.js) const fileInput = document.getElementById('myfile'); fileInput.onchange = () => { const selectedFile = fileInput.files[0]; console.log(selectedFile); const table = fileInput.getElementsByClassName("identification"); console.log(table); }

Gracias de antemano.

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!