SPListNameFromUrl
Function
$().SPServices.SPListNameFromUrl
Certification
Functionality
This utility function, which is also publicly available, returns the current list's GUID if called in the context of a list, meaning that the URL is within the list, like /DocLib or /Lists/ListName.
Syntax
$().SPServices.SPListNameFromUrl();
listName
Option to allow passing in a URL to the function rather than simply picking up the current context. This will help where custom list forms are stored outside the list context.
Returns
The current list's GUID.
Example
var thisList = $().SPServices.SPListNameFromUrl();