How to Get and Set Data Attributes using JavaScript

How to Get and Set Data Attributes using JavaScript