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

195
Views
¿Cuál es la diferencia entre un espacio y una coma en un selector de jQuery?

Por ejemplo, si uso esta sintaxis aquí: $('#itemid1 button').on('click', function () { ¿Cuándo se ejecutará esta función? ¿Es cuando hace clic en cualquier botón o en un elemento con la identificación de itemid1 ¿O es cuando haces clic en un botón que tiene la identificación itemid1 , o algo completamente diferente?

Creo que hacer esto: $('#itemid1, button').on('click', function () { ejecutaría una función cada vez que hiciera clic en un botón o elemento con id de itemid1

Gracias por tu ayuda.

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!