Gets or sets a pointer to the event handler function associated with the Web Storage event.
HRESULT IHTMLFrameSetElement3::get_onstorage(VARIANT *p);HRESULT IHTMLFrameSetElement3::put_onstorage(VARIANT v);
- Pointer to a variable of type VARIANT that receives the IDispatch interface of an object with a default method that is invoked when the event occurs.
- VARIANT that specifies the IDispatch interface of an object with a default method that is invoked when the event occurs.
Returns S_OK if successful, or an error value otherwise.
The onstorage event is fired in a document when a storage area changes. All documents sharing the same session context, and those that are currently displaying a page from the same domain or subdomain where local storage is being committed, receive the event.