I\'d like to know more about using data-* attributes with HTML and its use within jQuery. I\'m simply trying to retrieve data-attribute-name=\"a value\" with .data() and
set the data attribute as per your condition
Edit function onEdit(obj) { console.log(this.getAttribute("data-lan")); //my-data }