Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
onstoragecommit
Collapse the table of content
Expand the table of content

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)
addEventListener Method object.addEventListener("storagecommit", handler, useCapture)

 

Event information

SynchronousNo
BubblesNo
CancelableNo

 

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

There are no standards that apply here.

Remarks

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

To invoke this event, do one of the following:

See also

Introduction to Web Storage

 

 

Community Additions

ADD
Show:
© 2015 Microsoft