grab div with data set jquery code example
Example 1: jquery get data-id
const dataId = $('#elementId').attr("data-id");
Example 2: jquery set data attribute value
//<div id="myElementID" data-myvalue="37"></div>
var a = $('#myElementID').data('myvalue'); //get myvalue
$('#myElementID').data('myvalue',38); //set myvalue