After a page is loaded jQuery.cache is this :
/*
{ "1": { "events" : {"unload":{}, "load":{} } }, "2": { } }
*/
After: $("#toolbar").data("A","B");
jQuery.cache becomes :
/*
{"1":{"events":{"unload":{},"load":{}}},"2":{},"3":{"A":"B"},"4":
{},"5":{},"6":{},"7":{},"8":{}}
*/
Caches 2,4,5,6,7,8 are created too.
Is this a feature or a bug ;o) ?
-- DBJ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---