On SP2010 getting "Syntax error, unrecognized expression" with latest version of JQuery library and lastest SPServices when calling:
var userName = $().SPServices.SPGetCurrentUser({
fieldName: "Name"
Same code works fine with earlier version of JQuery & SPServices.
Comments: jQuery Library v1.9.0 - http://code.jquery.com/jquery-latest.js SPServices Library 0.7.2 - http://cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/0.7.2/jquery.SPServices-0.7.2.min.js Error stack: Sizzle.error = function( msg ) { throw new Error( "Syntax error, unrecognized expression: " + msg );
var userName = $().SPServices.SPGetCurrentUser({
fieldName: "Name"
Same code works fine with earlier version of JQuery & SPServices.
Comments: jQuery Library v1.9.0 - http://code.jquery.com/jquery-latest.js SPServices Library 0.7.2 - http://cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/0.7.2/jquery.SPServices-0.7.2.min.js Error stack: Sizzle.error = function( msg ) { throw new Error( "Syntax error, unrecognized expression: " + msg );