Looks like you found the answer: [jQuery's `data()` method`](https://api.jquery.com/jQuery.data/).