www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 getItem Method
getItem Method
New for Windows Internet Explorer 8
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 World Wide Web link.

Applies To

Storage

See Also

secure, setItem
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG