$.expr error in jquery migration from v1.4.1 to v1.9.1

71 Views Asked by At

I am using this plugin

http://james.padolsey.com/javascript/regex-selector-for-jquery/

and jquery v 1.4.1 and I want to migration from jquery v1.4.1 to v1.9.1.

This code:

var rows = $("#tableComments").find("tr:visible:not(:regex(class,^th))");

work very well with jquery v1.4.4 but I get this error in jquery v1.9.1

Uncaught TypeError: Cannot read property '3' of undefined

this error happens in the first line of the plugin,

var matchParams = match[3].split(',')

how do I fix this?

0

There are 0 best solutions below