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

158
Views
Sizzle.js Uncaught TypeError indefinido (leyendo 'expr')
 $.expr[':'].containsCaseInsensitive = function (n, i, m) { return jQuery(n).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0; };

.expr no está definido.

He añadido un CDN por si acaso

 <script src="https://cdnjs.cloudflare.com/ajax/libs/sizzle/2.2.1/sizzle.js"></script>

¿No puedo ver por qué expr no se definiría si el script está incluido en el encabezado?

Error siendo:

 Uncaught TypeError: Cannot read properties of undefined (reading 'expr')
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

En jQuery 1.8, la API para esto cambió, la versión jQuery 1.8+ de esto sería:

 jQuery.expr[":"].Contains = jQuery.expr.createPseudo(function(arg) { return function( elem ) { return jQuery(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0; }; });
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!