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

109
Views
¿Alguna idea de cómo puedo agregar la lista de selección al siguiente JS?

Lo siguiente crea una lista de selección desplegable y un cuadro de comentarios, la lista de selección está vacía y no puedo averiguar dónde colocar las opciones dentro de la secuencia de comandos

 $(document).ready(function(){ var withdrawalCharLimit = 600; buildWithdrawalDropdown(); $("#withdrawalCharRemainingGWU").text(withdrawalCharLimit-$("#withdrawalCommentsGWU").val().length); $("#withdrawalReasonGWU").change(function() { if($("#withdrawalCommentsGWU").val()==""){ $("#taComments").val($("#withdrawalReasonGWU").val()); } else { $("#taComments").val($("#withdrawalReasonGWU").val()+". Detail: "+$("#withdrawalCommentsGWU").val()); } }); $("#withdrawalCommentsGWU").keyup(function(){ if($("#withdrawalCommentsGWU").val()==""){ $("#taComments").val($("#withdrawalReasonGWU").val()); } else { $("#taComments").val($("#withdrawalReasonGWU").val()+". Detail: "+$("#withdrawalCommentsGWU").val()); } $("#withdrawalCharRemainingGWU").text(withdrawalCharLimit-$("#withdrawalCommentsGWU").val().length); }); }); function buildWithdrawalDropdown(){ var withdrawalSelect = $("<select class='form-control' id='withdrawalReasonGWU'></select>").insertBefore("#taComments"); var withdrawalComments = $("<label for='withdrawalCommentsGWU'>Additional Comments (optional):</label><textarea maxlength='600' class='form-control' id='withdrawalCommentsGWU'>")}

La lista se veía así , cómo deberían cargarse las opciones

about 4 years ago · Santiago Gelvez
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!