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

302
Views
Encontré un código antiguo para el generador de códigos QR Wifi, no puedo hacer que funcione. ¿Algunas ideas?

Encontré un código antiguo en Internet para esta idea, intenté refactorizarlo y arreglarlo, pero no puedo hacerlo funcionar.

HTML:

 <script src="https://cdn.rawgit.com/amanuel/JS-HTML5-QRCode-Generator/master/qrcode.js"></script> <script src="https://cdn.rawgit.com/amanuel/JS-HTML5-QRCode-Generator/master/html5-qrcode.js"></script> <h1>WiFi</h1> <form id="form"> <label><span>SSID:</span><input id="ssid" placeholder="SSID"></label> <label><span>Password:</span><input id="password" placeholder="Password"></label> <label> <span>Encryption:</span> <select id="enc"> <option>WPA</option> <option>WEP</option> </select> </label> <label><span>Is Hidden?</span><input type="checkbox" id="hidden"></label> <button id="print" onclick="window.print()">Print</button> </form> <div id="qrcode"> <img> </div>

JavaScript:

 function updateQRCode() { var ssid = document.getElementById("ssid").value; var pw = document.getElementById("password").value; var enc = document.getElementById("enc").value; var hidden = document.getElementById("hidden").checked; var qrcode = document.getElementById("qrcode"); var text = "WIFI:S:" + ssid + ";T:" + enc + ";P:" + pw + ";H:" + hidden + ";;"; qrcode.replaceChild(showQRCode(text), qrcode.lastChild); } document.getElementById("form").onchange = updateQRCode;

Soy un desarrollador junior, por lo que cualquier ayuda es muy apreciada para ayudarme a poner en marcha este proyecto.

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!