Domanda

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.

È stato utile?

Soluzione

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

jQuery('#filters input:not([name^="radio-"])').change(function(e) {
                                           ^
    triggerIsotopeUpdate();
});
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top