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.

Was it helpful?

Solution

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

jQuery('#filters input:not([name^="radio-"])').change(function(e) {
                                           ^
    triggerIsotopeUpdate();
});
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top