Yes U r right ... I got the alert "SPServices loaded? YES." But not the second alert..
I am using sharepoint 2010,my code is in a js file and am calling it from a master page .Actually i want to check the logged user is in a particular group or not ..
and also tried
var userName = $().SPServices.SPGetCurrentUser({
I am using sharepoint 2010,my code is in a js file and am calling it from a master page .Actually i want to check the logged user is in a particular group or not ..
and also tried
var userName = $().SPServices.SPGetCurrentUser({
fieldName: "Title",
debug: true
});
but alert (userName) is null