Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox throws error - regular expression too complex

I'm doing a load() on a page using Jquery, using Jquery Minified 1.3.2 and in ff4, it's telling me regular expression is too complex, and not completing the load. Works with no errors at all in chrome. Any idea what's going on? Thanks a lot guys!

like image 986
MrMaksimize Avatar asked Mar 23 '26 07:03

MrMaksimize


1 Answers

Just ran into the same error in FF4 (NOT in FF3.6). We're running jQuery 1.4.4.

For us, the issue was a bad jQuery selector. Namely:

$("#top *[contenteditable=true")

When it should have been:

$("#top *[contenteditable=true]")

That missing right bracket fixed it. I recommend double-checking your selectors.

like image 140
Nate Avatar answered Mar 24 '26 21:03

Nate



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!