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

114
Views
función Lado izquierdo no válido en la asignación

Estoy tratando de aprender JQuery y obtuve este error. Invalid left-hand side in assignment . Estoy tratando de señalar el selector sin usar ninguna función de eventos.

 let a = $("td:contains('"+ word +"')") = function(){ $(this).closest('tr').hide(); $(this).closest('tr').wrap('<hidden>'); state = true; } a();
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

El error probablemente radica en esta parte:

 $("...")=function(){...}

$("...") ya devuelve un objeto , por lo que no puede asignarle una function() .

De su código, supongo que lo que quiere puede ser esto:

 let a=(function(){...}).bind($("...")); a();
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!