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

88
Views
Ajuste automático de números en jquery al hacer clic

Necesito una solución jquery que debe ajustarse automáticamente con el atributo de datos correspondiente al hacer clic en el botón.

 <input type="number"><button>Auto adjust</button> the value entered! <br> <br> <br> <br> <tr> <td>8</td> <td><input type="number"></td> </tr> <br> The data should be ajusted with coressponding table value when given higher values.

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

0

Agrego dos atributos de id a las entradas para mostrar mejor lo que quiero decir:

 <input type="number" id="input"><button>Auto adjust</button> the value entered! <br> <br> <br> <br> <tr> <td>8</td> <td><input type="number" id="tableInput"></td> </tr> <br>

use el siguiente script:

 $('button').on('click' , () => { let inputVal = $("#input").val(); $("#tableInput").val(inputVal); })
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!