Question

I get the following error in safari (7.0.3). Chrome and FF have no complaints and work just fine.

Error: Syntax error, unrecognized expression: #filters input:not([name^="radio-"]

From this line of code:

jQuery('#filters input:not([name^="radio-"]').change(function(e) { triggerIsotopeUpdate(); });

I have not been able to find solutions on SO that apply to my situation. Has anyone encountered this issue before? I would appreciate any help you can provide.

Était-ce utile?

La solution

You're missing a closing bracket (before .change()):

jQuery('#filters input:not([name^="radio-"])').change(function(e) {
                                           ^
    triggerIsotopeUpdate();
});
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top