Monday, 15 February 2010

javascript - Strange jQuery Unrecognized Expression (Syntax error, unrecognized expression: .) -



javascript - Strange jQuery Unrecognized Expression (Syntax error, unrecognized expression: .) -

so have weird bug in jquery 1.11.1 (compressed).

i have collapsing div , when load page page developing on mac can work perfectly. thinking page ready finalised did test on old windows , not working.

i had @ console see why isn't working , presented next error"

uncaught error: syntax error, unrecognized expression: . jquery.js:2

so decided farther happening error , console output displayed upon farther inspection.

fb.error jquery.js:2 fb.tokenize jquery.js:2 fb.select jquery.js:2 fb jquery.js:2 m.fn.extend.find jquery.js:2 m.fn.init jquery.js:2 m jquery.js:2

i'm not 100% there issue particular version of jquery or if doing.

here code collapsing dive.

$('.').click(function(){ $('.round-details') });

any help appreciated issue bit beyond abilities jquery still learning.

thanks

stu :)

what trying select "." selector?

see selectors documentation : http://api.jquery.com/category/selectors/

beside that, should utilize uncompressed version of jquery when trying debug.

javascript jquery html

No comments:

Post a Comment