Recently, I discussed the pitfalls of using custom HTML attributes and âexpandoâ DOM properties to store per-element data. Thanks to the comments on that post I now understand that doing so is sometimes hard to avoid. Some people resort to using jQueryâs âmetadataâ plugin which can massively simplify the process of adding metadata (i.e. data about data). Iâve been meaning to post a technique Iâve
{{#tags}}- {{label}}
{{/tags}}