[html5] OnStorage Event

Jaikishan Jalan jai.ism at gmail.com
Wed May 5 18:27:49 PDT 2010


Hello,

I understand that onstorage event will be invoked if setItem, removeItem or
clear is invoked on either sessionStorage object or localStorage object. I
am curious how can I determine which object has changed from within the
onstorage event handler. To be precise, is the function called because
localStorage object changed or sessionStorage object changed. storageArea
attribute to event object does not help.

-- 
Thanks,
Jaikishan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20100505/e239bb6a/attachment-0002.htm>


More information about the Help mailing list