Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Internet Explorer
Events
 onstoragecommit event
onstoragecommit event

Fires when a local Web Storage area is written to disk.

Internet Explorer 8

Syntax

HTML Attribute <element onstoragecommit = "handler(event)">
Event Property object.onstoragecommit = handler;
attachEvent Method object.attachEvent("onstoragecommit", handler)

Standards information

There are no standards that apply here.

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Remarks

Local storage is saved to disk asynchronously to improve performance. The onstoragecommit event can be used to determine when the disk storage has been updated.

To invoke this event, do one of the following:

  • Set or update a local storage value with setItem.
  • Remove a local storage value with removeItem.

See also

document
Introduction to DOM Storage

 

 

Send comments about this topic to Microsoft

Build date: 3/14/2012

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker