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

175
Views
¿Cómo muestro un mensaje de 'Espere por favor' en javascript cuando el lenguaje de mainframe RPGILE responde lentamente?

Soy nuevo en javascript, pero debo hacer una modificación a un programa RPGILE de ejecución lenta (lenguaje de mainframe). Probé el siguiente código, pero el formulario no se envía hasta que respondo al cuadro de alerta.

 <input type="submit" name="Continue" value="Send this order " onClick="alert('Please Wait...')" >
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Un cuadro de alerta pausará todo lo demás hasta que se descarte.

Como alternativa rápida, puede ocultar el botón al hacer clic y mostrar el mensaje 'Espere...' en su lugar.

Intenta reemplazar tu entrada con esto:

 <div> <input type="submit" name="Continue" id="sendButton" value="Send this order"> <div id="loadingMessage" style="display: none;">Please wait...</div> </div> <script> document.getElementById('sendButton').addEventListener('click', () => { document.getElementById('sendButton').style.display = 'none'; document.getElementById('loadingMessage').style.display = 'block' }); </script>
about 4 years ago · Juan Pablo Isaza Report
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!