문제

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.

도움이 되었습니까?

해결책

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

jQuery('#filters input:not([name^="radio-"])').change(function(e) {
                                           ^
    triggerIsotopeUpdate();
});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top