I have a div
like
<div class="firstclass" id="first" data-value="firstvalue">SomeThing</div>
Here I want to get the value in data-value
like by doing document.getElementById('first').value
or something like this..
How can I get this value or if there is similar approach