Get the value of an attribute of a HTML tag Using JQueryAjith Mohan11yPublished Feb 28, 2015, 12:53 AMUpdated Mar 3, 2015, 2:13 AM1.2kCodeGet the value of an attribute of a HTML tag using JQuery.var value = $('#HtmlElement').attr('data-value');