[html5] OnStorage Event

Martin Gainty mgainty at hotmail.com
Wed May 5 18:33:02 PDT 2010


you'll need a event listener which is hooked as a callback mechanism to respond to mouse or key events..information on events and how to hook listeners is discussed here
http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-registration-html40

greetings,
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




Date: Wed, 5 May 2010 18:27:49 -0700
From: jai.ism at gmail.com
To: help at whatwg.org
Subject: [html5] OnStorage Event

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
 		 	   		  
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20100505/ad991f74/attachment-0003.htm>


More information about the Help mailing list