Note: This documentation is preliminary and is subject to change.
Retrieves the current value associated with the DOM Storage key.
Syntax
ppItem = Storage.getItem(bstrKey)
Parameters
bstrKey |
Required.
The name of the key, or the empty string. |
Return Value
Returns a StorageItem object.
Remarks
Any string, including the empty string, is a valid key name.
If the specified bstrKey does not exist in the list associated with the object, then this method returns null.
Attempts to read or write a secured item from script running in the context of an unsecured URL are not permitted.
Standards Information
This method is defined in
HTML 5 .
Applies To
See Also
secure, setItem