getCookie()
Retrieves one or more cookies.
This function is valid in v2.13.2 to v2.24.3. This function has been downloaded 65 times.undefined
undefined
or null
is supplied that means all cookies should be retrieved.undefined
name
was a string but the corresponding cookie doesn't exist.name
is a string and matches the name of a cookie, that cookie's value will be returned as a string. If name
is a string but doesn't match the name of a cookie opt_defaultValue
will be returned. If name
is of type RegExp
an object containing all of the cookies with names that match the specified regular expression will be returned. If name
is undefined
or null
an object containing all of the cookies will be returned. If an object is returned each key will represent the name of each cookie and each value will be the value of that cookie.This function directly requires the following function which is included automatically:
typeOf()
This function is directly required by the following function:
removeCookie()