Created
December 18, 2013 08:59
-
-
Save hidekiy/8019348 to your computer and use it in GitHub Desktop.
jQuery.data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> $('#colorbox').data('hoge', 123) | |
... | |
> $('#colorbox').data('hoge') | |
123 | |
> jQuery.expando | |
"jQuery19107670532537158579" | |
> $('#colorbox').prop(jQuery.expando) | |
20 | |
> $.cache[20].data.hoge | |
123 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment