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

84
Views
Transferir valor de entrada

Tengo un problema con mi sitio web cuando uso un formulario con 2 entradas. Quiero transferir el valor de la primera entrada a la segunda entrada con el signo menos sin usar el botón de enviar, sabiendo que usé php y js. Por favor, si alguno de ustedes tiene una respuesta, realmente la necesito.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

No estoy seguro si entendí bien tu pregunta, pero si es así, esto es lo que estás buscando usando javascript

 <html> <head> <script> function setSecondField(value){ document.getElementById("field2").value = value.value+'-'; } </script> </head> <body> <input type="text" name="title" id="field1" class="text_box" oninput="setSecondField(this)" /> <input type="text" name="title" id="field2" class="text_box" "/> </body> </html>

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!