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

127
Views
Tomando el valor del formulario por el nombre de la clase en el botón Haga clic en el formulario

¿Hay alguna manera en la que pueda tomar los valores de fila con el mismo nombre de clase del botón en cada fila y establecer los valores en las variables de estado de uso correctas?

El código para el tds está construido de la siguiente manera:

 const postsOffCountry = <td>{props.posts.map((post => (<input key={post.rowid} defaultValue={post.lcountry} className={post.ref} onBlur={(event) => props.variables.setLoadingCountry(event.target.value)}></input>)))}</td>; const postsUpdateButton = <td>{props.posts.map((post, i) => (<button key={i} className={post.ref} onClick={(event) => {props.variables.update(event.target.id);}}>Update</button>))}</td>;

Tengo varias publicaciones en OffCountry como constantes pero solo con datos diferentes.

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!