[jQuery] $.data question

2009-06-29 Thread Steven Yang
Hi Sorry if its already been asked when i used $.data and pass in ''(empty string), it return me 7. no matter what i have put for ''. when i looked at the code i believe 7 was just a generated id from jQuery. and the reason why it always return the id is because of // Return the named cache data,

[jQuery] $.data question

2009-06-29 Thread Steven Yang
Hi Sorry if its already been asked when i used $.data and pass in ''(empty string), it return me 7. no matter what i have put for ''. when i looked at the code i believe 7 was just a generated id from jQuery. and the reason why it always return the id is because of // Return the named cache data,