Hacker News new | ask | show | jobs
by Zardoz84 864 days ago
what I usually did, was using data-xxx attributes (and document these attributes and how works) to inject special functionality to html elements. I did this with jQuery, and now I do with vainilla JavaScript.