magp.ie
HTML5 Data attributes in HTML and jQuery
When writing javascript, it is often necessary to include metadata in the HTML markup, to help define some element or behaviour. There are common options available. You can use hidden inputs and/or…